Unverified Commit 3e1ef19f authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Fix a type error in Scrollable.ensureVisible (#14525)

Fixes https://github.com/flutter/flutter/issues/14492
parent 88e0d33c
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment