Export public API types from foundation/scheduler/gestures/semantics (#106409)
This commit is contained in:
parent
450906cbde
commit
526ca0d498
@ -16,4 +16,5 @@ library semantics;
|
||||
export 'src/semantics/binding.dart';
|
||||
export 'src/semantics/debug.dart';
|
||||
export 'src/semantics/semantics.dart';
|
||||
export 'src/semantics/semantics_event.dart';
|
||||
export 'src/semantics/semantics_service.dart';
|
||||
|
@ -6,6 +6,8 @@ import 'dart:io';
|
||||
import 'assertions.dart';
|
||||
import 'platform.dart' as platform;
|
||||
|
||||
export 'platform.dart' show TargetPlatform;
|
||||
|
||||
/// The dart:io implementation of [platform.defaultTargetPlatform].
|
||||
platform.TargetPlatform get defaultTargetPlatform {
|
||||
platform.TargetPlatform? result;
|
||||
|
@ -7,6 +7,8 @@ import 'dart:ui' as ui;
|
||||
|
||||
import 'platform.dart' as platform;
|
||||
|
||||
export 'platform.dart' show TargetPlatform;
|
||||
|
||||
/// The dart:html implementation of [platform.defaultTargetPlatform].
|
||||
platform.TargetPlatform get defaultTargetPlatform {
|
||||
// To get a better guess at the targetPlatform we need to be able to reference
|
||||
|
@ -11,7 +11,7 @@ import 'print.dart';
|
||||
import 'stack_frame.dart';
|
||||
|
||||
export 'basic_types.dart' show IterableFilter;
|
||||
export 'diagnostics.dart' show DiagnosticLevel, DiagnosticsNode, DiagnosticPropertiesBuilder, DiagnosticsTreeStyle;
|
||||
export 'diagnostics.dart' show DiagnosticLevel, DiagnosticPropertiesBuilder, DiagnosticsNode, DiagnosticsTreeStyle;
|
||||
export 'stack_frame.dart' show StackFrame;
|
||||
|
||||
// Examples can assume:
|
||||
|
@ -6,8 +6,6 @@ import 'dart:collection';
|
||||
|
||||
// COMMON SIGNATURES
|
||||
|
||||
export 'dart:ui' show VoidCallback;
|
||||
|
||||
/// Signature for callbacks that report that an underlying value has changed.
|
||||
///
|
||||
/// See also:
|
||||
|
@ -18,6 +18,8 @@ import 'object.dart';
|
||||
import 'platform.dart';
|
||||
import 'print.dart';
|
||||
|
||||
export 'dart:ui' show PlatformDispatcher, SingletonFlutterWindow;
|
||||
|
||||
export 'basic_types.dart' show AsyncCallback, AsyncValueGetter, AsyncValueSetter;
|
||||
|
||||
// Examples can assume:
|
||||
|
@ -2,10 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:ui' show VoidCallback;
|
||||
|
||||
import 'package:meta/meta.dart';
|
||||
|
||||
import 'assertions.dart';
|
||||
import 'basic_types.dart';
|
||||
import 'diagnostics.dart';
|
||||
|
||||
export 'dart:ui' show VoidCallback;
|
||||
|
@ -25,7 +25,7 @@ export 'package:flutter/foundation.dart' show DiagnosticsNode, InformationCollec
|
||||
|
||||
export 'arena.dart' show GestureArenaManager;
|
||||
export 'events.dart' show PointerEvent;
|
||||
export 'hit_test.dart' show HitTestEntry, HitTestTarget, HitTestResult;
|
||||
export 'hit_test.dart' show HitTestEntry, HitTestResult, HitTestTarget;
|
||||
export 'pointer_router.dart' show PointerRouter;
|
||||
export 'pointer_signal_resolver.dart' show PointerSignalResolver;
|
||||
|
||||
|
@ -24,7 +24,7 @@ export 'package:vector_math/vector_math_64.dart' show Matrix4;
|
||||
export 'arena.dart' show GestureDisposition;
|
||||
export 'events.dart' show PointerDownEvent, PointerEvent, PointerPanZoomStartEvent;
|
||||
export 'gesture_settings.dart' show DeviceGestureSettings;
|
||||
export 'pointer_router.dart' show PointerRouter;
|
||||
export 'team.dart' show GestureArenaTeam;
|
||||
|
||||
/// Generic signature for callbacks passed to
|
||||
/// [GestureRecognizer.invokeCallback]. This allows the
|
||||
|
@ -7,8 +7,6 @@ import 'dart:collection';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/semantics.dart';
|
||||
|
||||
import 'package:vector_math/vector_math_64.dart';
|
||||
|
||||
import 'box.dart';
|
||||
import 'object.dart';
|
||||
import 'proxy_box.dart';
|
||||
|
@ -8,7 +8,6 @@ import 'package:flutter/animation.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/scheduler.dart';
|
||||
import 'package:flutter/semantics.dart';
|
||||
import 'package:vector_math/vector_math_64.dart';
|
||||
|
||||
import 'box.dart';
|
||||
import 'object.dart';
|
||||
|
@ -7,7 +7,6 @@ import 'dart:math' as math;
|
||||
import 'package:flutter/animation.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/semantics.dart';
|
||||
import 'package:vector_math/vector_math_64.dart';
|
||||
|
||||
import 'box.dart';
|
||||
import 'layer.dart';
|
||||
|
@ -14,7 +14,7 @@ import 'debug.dart';
|
||||
import 'priority.dart';
|
||||
|
||||
export 'dart:developer' show Flow;
|
||||
export 'dart:ui' show AppLifecycleState, FrameTiming, TimingsCallback, VoidCallback;
|
||||
export 'dart:ui' show AppLifecycleState, FrameTiming, TimingsCallback;
|
||||
|
||||
export 'priority.dart' show Priority;
|
||||
|
||||
|
@ -8,7 +8,7 @@ import 'package:flutter/foundation.dart';
|
||||
|
||||
import 'debug.dart';
|
||||
|
||||
export 'dart:ui' show AccessibilityFeatures;
|
||||
export 'dart:ui' show AccessibilityFeatures, SemanticsUpdateBuilder;
|
||||
|
||||
/// The glue between the semantics layer and the Flutter engine.
|
||||
// TODO(zanderso): move the remaining semantic related bindings here.
|
||||
|
@ -15,8 +15,13 @@ import 'package:vector_math/vector_math_64.dart';
|
||||
import 'binding.dart' show SemanticsBinding;
|
||||
import 'semantics_event.dart';
|
||||
|
||||
export 'dart:ui' show SemanticsAction, StringAttribute, SpellOutStringAttribute, LocaleStringAttribute;
|
||||
export 'semantics_event.dart';
|
||||
export 'dart:ui' show Offset, Rect, SemanticsAction, SemanticsFlag, StringAttribute, TextDirection, VoidCallback;
|
||||
|
||||
export 'package:flutter/foundation.dart' show DiagnosticLevel, DiagnosticPropertiesBuilder, DiagnosticsNode, DiagnosticsTreeStyle, Key, TextTreeConfiguration;
|
||||
export 'package:flutter/services.dart' show TextSelection;
|
||||
export 'package:vector_math/vector_math_64.dart' show Matrix4;
|
||||
|
||||
export 'semantics_event.dart' show SemanticsEvent;
|
||||
|
||||
/// Signature for a function that is called for each [SemanticsNode].
|
||||
///
|
||||
|
@ -6,6 +6,8 @@
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/painting.dart';
|
||||
|
||||
export 'dart:ui' show TextDirection;
|
||||
|
||||
/// An event sent by the application to notify interested listeners that
|
||||
/// something happened to the user interface (e.g. a view scrolled).
|
||||
///
|
||||
|
@ -2,13 +2,13 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
|
||||
import 'dart:ui' show TextDirection;
|
||||
|
||||
import 'package:flutter/services.dart' show SystemChannels;
|
||||
|
||||
import 'semantics_event.dart' show AnnounceSemanticsEvent, TooltipSemanticsEvent;
|
||||
|
||||
export 'dart:ui' show TextDirection;
|
||||
|
||||
/// Allows access to the platform's accessibility services.
|
||||
///
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
import 'dart:async';
|
||||
import 'dart:math' as math;
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/gestures.dart';
|
||||
|
@ -3,7 +3,6 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:math' as math;
|
||||
import 'dart:ui' show SemanticsFlag;
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/rendering.dart';
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
import 'dart:ui' as ui show TextHeightBehavior;
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/rendering.dart';
|
||||
|
||||
import 'basic.dart';
|
||||
|
@ -2,8 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/rendering.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
@ -6,7 +6,6 @@ import 'dart:ui' as ui;
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/rendering.dart';
|
||||
import 'package:flutter/src/foundation/diagnostics.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
void main() {
|
||||
|
@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/gestures.dart';
|
||||
import 'package:flutter/rendering.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
|
@ -2,7 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/rendering.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
|
@ -2,8 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:ui' show TextDirection;
|
||||
|
||||
import 'package:flutter/semantics.dart';
|
||||
import 'package:flutter/services.dart' show SystemChannels;
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/rendering.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:vector_math/vector_math_64.dart';
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
import 'dart:typed_data';
|
||||
import 'dart:ui' as ui;
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/semantics.dart';
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
import 'dart:math' as math;
|
||||
import 'dart:ui' as ui;
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/gestures.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
@ -2,8 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/rendering.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
@ -2,8 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/semantics.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
|
@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/gestures.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/rendering.dart';
|
||||
|
@ -2,8 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/gestures.dart' show DragStartBehavior;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/rendering.dart';
|
||||
|
@ -2,8 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/rendering.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
@TestOn('!chrome')
|
||||
import 'dart:ui' as ui show BoxHeightStyle, BoxWidthStyle;
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
|
@ -3,7 +3,6 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:math';
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/rendering.dart';
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:ui' show SemanticsFlag;
|
||||
import 'dart:ui' show LocaleStringAttribute, SemanticsFlag, SpellOutStringAttribute;
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/physics.dart';
|
||||
|
@ -2,8 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/rendering.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
@ -2,8 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/rendering.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
@ -2,8 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/gestures.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/semantics.dart';
|
||||
|
@ -5,7 +5,6 @@
|
||||
// flutter_ignore_for_file: golden_tag (see analyze.dart)
|
||||
|
||||
import 'dart:typed_data';
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/rendering.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
|
Loading…
x
Reference in New Issue
Block a user