exports public API types from scheduler/*.dart (#105737)

This commit is contained in:
Alexandre Ardhuin
2022-06-10 01:03:07 +02:00
committed by GitHub
parent fe57704594
commit 1b65ba5380
2 changed files with 6 additions and 1 deletions

View File

@@ -13,7 +13,10 @@ import 'package:flutter/foundation.dart';
import 'debug.dart';
import 'priority.dart';
export 'dart:ui' show AppLifecycleState, VoidCallback, FrameTiming;
export 'dart:developer' show Flow;
export 'dart:ui' show AppLifecycleState, FrameTiming, TimingsCallback, VoidCallback;
export 'priority.dart' show Priority;
/// Slows down animations by this factor to help in development.
double get timeDilation => _timeDilation;

View File

@@ -8,6 +8,8 @@ import 'package:flutter/foundation.dart';
import 'binding.dart';
export 'package:flutter/foundation.dart' show DiagnosticsNode, VoidCallback;
/// Signature for the callback passed to the [Ticker] class's constructor.
///
/// The argument is the time that the object had spent enabled so far