Ticker typedef had no defined return type
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user