apply lint prefer_void_to_null in dev/ (#22661)
This commit is contained in:
committed by
GitHub
parent
89c5ace117
commit
d340e2f229
@@ -438,7 +438,7 @@ class _AnimationDemoState extends State<AnimationDemo> with TickerProviderStateM
|
||||
];
|
||||
}
|
||||
|
||||
Future<Null> _play(_ArcDemo demo) async {
|
||||
Future<void> _play(_ArcDemo demo) async {
|
||||
await demo.controller.forward();
|
||||
if (demo.key.currentState != null && demo.key.currentState.mounted)
|
||||
demo.controller.reverse();
|
||||
|
||||
Reference in New Issue
Block a user