Skip to content

Commit 1b65ba5

Browse files
authored
exports public API types from scheduler/*.dart (#105737)
1 parent fe57704 commit 1b65ba5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ import 'package:flutter/foundation.dart';
1313
import 'debug.dart';
1414
import 'priority.dart';
1515

16-
export 'dart:ui' show AppLifecycleState, VoidCallback, FrameTiming;
16+
export 'dart:developer' show Flow;
17+
export 'dart:ui' show AppLifecycleState, FrameTiming, TimingsCallback, VoidCallback;
18+
19+
export 'priority.dart' show Priority;
1720

1821
/// Slows down animations by this factor to help in development.
1922
double get timeDilation => _timeDilation;

packages/flutter/lib/src/scheduler/ticker.dart

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

99
import 'binding.dart';
1010

11+
export 'package:flutter/foundation.dart' show DiagnosticsNode, VoidCallback;
12+
1113
/// Signature for the callback passed to the [Ticker] class's constructor.
1214
///
1315
/// The argument is the time that the object had spent enabled so far

0 commit comments

Comments
 (0)