Gallery Smoke Test (#3446)

* Gallery Smoke Test
This commit is contained in:
Hans Muller
2016-04-21 08:54:43 -07:00
parent 161f945e84
commit 986b017445
4 changed files with 109 additions and 41 deletions

View File

@@ -215,7 +215,7 @@ class Scaffold extends StatefulWidget {
this.scrollableKey,
this.appBarBehavior: AppBarBehavior.anchor
}) : super(key: key) {
assert((appBarBehavior == AppBarBehavior.scroll) ? scrollableKey != null : true);
assert(scrollableKey != null ? (appBarBehavior != AppBarBehavior.anchor) : true);
}
final AppBar appBar;