mirror of
https://github.com/flutter/flutter
synced 2024-10-13 19:52:53 +00:00
Fix a type error in Scrollable.ensureVisible (#14525)
Fixes https://github.com/flutter/flutter/issues/14492
This commit is contained in:
parent
88e0d33c27
commit
3e1ef19fcb
|
@ -214,7 +214,7 @@ class Scrollable extends StatefulWidget {
|
|||
return new Future<Null>.value();
|
||||
if (futures.length == 1)
|
||||
return futures.single;
|
||||
return Future.wait<Null>(futures);
|
||||
return Future.wait<Null>(futures).then((List<Null> _) => null);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue