tb2761

remove duplicated assertion

@@ -275,7 +275,6 @@ class CupertinoScaffold extends StatefulWidget { @@ -275,7 +275,6 @@ class CupertinoScaffold extends StatefulWidget {
275 assert(useRootNavigator != null); 275 assert(useRootNavigator != null);
276 assert(enableDrag != null); 276 assert(enableDrag != null);
277 assert(debugCheckHasMediaQuery(context)); 277 assert(debugCheckHasMediaQuery(context));
278 - assert(debugCheckHasMediaQuery(context));  
279 final isCupertinoApp = Theme.of(context, shadowThemeOnly: true) == null; 278 final isCupertinoApp = Theme.of(context, shadowThemeOnly: true) == null;
280 String barrierLabel = ''; 279 String barrierLabel = '';
281 if (!isCupertinoApp) { 280 if (!isCupertinoApp) {