Ticker typedef had no defined return type
This commit is contained in:
parent
3af3b23607
commit
4d90194eff
@ -6,7 +6,7 @@ import 'dart:async';
|
||||
|
||||
import 'scheduler.dart';
|
||||
|
||||
typedef TickerCallback(Duration elapsed);
|
||||
typedef void TickerCallback(Duration elapsed);
|
||||
|
||||
/// Calls its callback once per animation frame.
|
||||
class Ticker {
|
||||
|
Loading…
x
Reference in New Issue
Block a user