You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1627,15 +1617,7 @@ class SliverAppBar extends StatefulWidget {
1627
1617
this.titleTextStyle,
1628
1618
this.systemOverlayStyle,
1629
1619
this.forceMaterialTransparency =false,
1630
-
}) :assert(automaticallyImplyLeading !=null),
1631
-
assert(forceElevated !=null),
1632
-
assert(primary !=null),
1633
-
assert(floating !=null),
1634
-
assert(pinned !=null),
1635
-
assert(snap !=null),
1636
-
assert(stretch !=null),
1637
-
assert(toolbarHeight !=null),
1638
-
assert(floating ||!snap, 'The "snap" argument only makes sense for floating app bars.'),
1620
+
}) :assert(floating ||!snap, 'The "snap" argument only makes sense for floating app bars.'),
1639
1621
assert(stretchTriggerOffset >0.0),
1640
1622
assert(collapsedHeight ==null|| collapsedHeight >= toolbarHeight, 'The "collapsedHeight" argument has to be larger than or equal to [toolbarHeight].');
1641
1623
@@ -2241,7 +2223,7 @@ class _SliverAppBarState extends State<SliverAppBar> with TickerProviderStateMix
2241
2223
// center it within its (NavigationToolbar) parent, and allow the
0 commit comments