Switch TabBarView to PageView (#7982)

Tabs are now fully driven by slivers.
This commit is contained in:
Adam Barth
2017-02-08 14:55:18 -08:00
committed by GitHub
parent 6d41c704b9
commit 4e95701541
7 changed files with 68 additions and 141 deletions

View File

@@ -213,8 +213,8 @@ class WidgetTester extends WidgetController implements HitTestDispatcher, Ticker
///
/// Alternatively, one can check that the return value from this function
/// matches the expected number of pumps.
Future<int> pumpUntilNoTransientCallbacks(
Duration duration, [
Future<int> pumpUntilNoTransientCallbacks([
Duration duration = const Duration(milliseconds: 100),
EnginePhase phase = EnginePhase.sendSemanticsTree
]) {
assert(duration != null);