Skip to content

Commit 526ca0d

Browse files
authored
Export public API types from foundation/scheduler/gestures/semantics (#106409)
1 parent 450906c commit 526ca0d

40 files changed

+34
-41
lines changed

packages/flutter/lib/semantics.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ library semantics;
1616
export 'src/semantics/binding.dart';
1717
export 'src/semantics/debug.dart';
1818
export 'src/semantics/semantics.dart';
19+
export 'src/semantics/semantics_event.dart';
1920
export 'src/semantics/semantics_service.dart';

packages/flutter/lib/src/foundation/_platform_io.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import 'dart:io';
66
import 'assertions.dart';
77
import 'platform.dart' as platform;
88

9+
export 'platform.dart' show TargetPlatform;
10+
911
/// The dart:io implementation of [platform.defaultTargetPlatform].
1012
platform.TargetPlatform get defaultTargetPlatform {
1113
platform.TargetPlatform? result;

packages/flutter/lib/src/foundation/_platform_web.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import 'dart:ui' as ui;
77

88
import 'platform.dart' as platform;
99

10+
export 'platform.dart' show TargetPlatform;
11+
1012
/// The dart:html implementation of [platform.defaultTargetPlatform].
1113
platform.TargetPlatform get defaultTargetPlatform {
1214
// To get a better guess at the targetPlatform we need to be able to reference

packages/flutter/lib/src/foundation/assertions.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import 'print.dart';
1111
import 'stack_frame.dart';
1212

1313
export 'basic_types.dart' show IterableFilter;
14-
export 'diagnostics.dart' show DiagnosticLevel, DiagnosticsNode, DiagnosticPropertiesBuilder, DiagnosticsTreeStyle;
14+
export 'diagnostics.dart' show DiagnosticLevel, DiagnosticPropertiesBuilder, DiagnosticsNode, DiagnosticsTreeStyle;
1515
export 'stack_frame.dart' show StackFrame;
1616

1717
// Examples can assume:

packages/flutter/lib/src/foundation/basic_types.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import 'dart:collection';
66

77
// COMMON SIGNATURES
88

9-
export 'dart:ui' show VoidCallback;
10-
119
/// Signature for callbacks that report that an underlying value has changed.
1210
///
1311
/// See also:

packages/flutter/lib/src/foundation/binding.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import 'object.dart';
1818
import 'platform.dart';
1919
import 'print.dart';
2020

21+
export 'dart:ui' show PlatformDispatcher, SingletonFlutterWindow;
22+
2123
export 'basic_types.dart' show AsyncCallback, AsyncValueGetter, AsyncValueSetter;
2224

2325
// Examples can assume:

packages/flutter/lib/src/foundation/change_notifier.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
import 'dart:ui' show VoidCallback;
6+
57
import 'package:meta/meta.dart';
68

79
import 'assertions.dart';
8-
import 'basic_types.dart';
910
import 'diagnostics.dart';
1011

1112
export 'dart:ui' show VoidCallback;

packages/flutter/lib/src/gestures/binding.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export 'package:flutter/foundation.dart' show DiagnosticsNode, InformationCollec
2525

2626
export 'arena.dart' show GestureArenaManager;
2727
export 'events.dart' show PointerEvent;
28-
export 'hit_test.dart' show HitTestEntry, HitTestTarget, HitTestResult;
28+
export 'hit_test.dart' show HitTestEntry, HitTestResult, HitTestTarget;
2929
export 'pointer_router.dart' show PointerRouter;
3030
export 'pointer_signal_resolver.dart' show PointerSignalResolver;
3131

packages/flutter/lib/src/gestures/recognizer.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export 'package:vector_math/vector_math_64.dart' show Matrix4;
2424
export 'arena.dart' show GestureDisposition;
2525
export 'events.dart' show PointerDownEvent, PointerEvent, PointerPanZoomStartEvent;
2626
export 'gesture_settings.dart' show DeviceGestureSettings;
27-
export 'pointer_router.dart' show PointerRouter;
27+
export 'team.dart' show GestureArenaTeam;
2828

2929
/// Generic signature for callbacks passed to
3030
/// [GestureRecognizer.invokeCallback]. This allows the

packages/flutter/lib/src/rendering/custom_paint.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import 'dart:collection';
77
import 'package:flutter/foundation.dart';
88
import 'package:flutter/semantics.dart';
99

10-
import 'package:vector_math/vector_math_64.dart';
11-
1210
import 'box.dart';
1311
import 'object.dart';
1412
import 'proxy_box.dart';

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy