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

Fixes https://github.com/flutter/flutter/issues/14492
This commit is contained in:
Jason Simmons 2018-02-07 14:17:08 -08:00 committed by GitHub
parent 88e0d33c27
commit 3e1ef19fcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}