/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/cupertino/ |
D | cupertino_alert_demo.dart | 75 Navigator.pop(context, 'Discard'); 82 Navigator.pop(context, 'Cancel'); 105 Navigator.pop(context, 'Disallow'); 111 Navigator.pop(context, 'Allow'); 160 Navigator.pop(context, 'Profiteroles'); 166 Navigator.pop(context, 'Cannolis'); 172 Navigator.pop(context, 'Trifle'); 180 Navigator.pop(context, 'Cancel'); 226 Navigator.pop(context, 'Cheesecake'); 232 Navigator.pop(context, 'Tiramisu'); [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | sourceMapWithMultipleFilesWithFileEndingWithInterface.symbols | 8 interface Navigator { 9 >Navigator : Symbol(Navigator, Decl(lib.dom.d.ts, --, --), Decl(lib.dom.d.ts, --, --), Decl(a.ts, 2… 12 >getGamepads : Symbol(Navigator.getGamepads, Decl(lib.dom.d.ts, --, --), Decl(a.ts, 3, 21)) 16 >webkitGetGamepads : Symbol(Navigator.webkitGetGamepads, Decl(a.ts, 4, 33)) 20 >msGetGamepads : Symbol(Navigator.msGetGamepads, Decl(a.ts, 5, 38)) 24 >webkitGamepads : Symbol(Navigator.webkitGamepads, Decl(a.ts, 6, 35))
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | navigator.dart | 32 /// Used by [Navigator.onGenerateRoute] and [Navigator.onUnknownRoute]. 35 /// Signature for the [Navigator.popUntil] predicate argument. 38 /// Signature for a callback that verifies that it's OK to call [Navigator.pop]. 83 /// An abstraction for an entry managed by a [Navigator]. 90 /// See [Navigator] for more explanation of how to use a Route 117 /// (accessible as [Navigator.overlay]). (The reason the [Route] is 118 /// responsible for doing this, rather than the [Navigator], is that the 146 /// Returns false if this route wants to veto a [Navigator.pop]. This method is 147 /// called by [Navigator.maybePop]. 166 /// When this route is popped (see [Navigator.pop]) if the result isn't [all …]
|
D | app.dart | 92 /// back button to popping the [Navigator] or quitting the application. 95 /// [Localizations], [Title], [Navigator], [Overlay], [SemanticsDebugger] (the 126 /// to [Navigator.onGenerateRoute] and [Navigator.onUnknownRoute]. If [home], [routes], 170 !routes.containsKey(Navigator.defaultRouteName), 177 routes.containsKey(Navigator.defaultRouteName) || 226 /// A key to use when building the [Navigator]. 228 /// If a [navigatorKey] is specified, the [Navigator] can be directly 230 /// [Navigator.of]: from the [navigatorKey], use the [GlobalKey.currentState] 233 /// If this is changed, a new [Navigator] will be created, losing all the 238 /// The [Navigator] is only built if [onGenerateRoute] is not null; if it is [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/ |
D | tab_view.dart | 10 /// A single tab view with its own [Navigator] state and history. 16 /// [CupertinoTabView] configures the top-level [Navigator] to search for routes 30 /// nor any ancestor or descendant [Navigator] instances. 34 /// `Navigator.of(rootNavigator: true)`. 40 /// [CupertinoTabView]'s [Navigator]. 56 /// ([Navigator.defaultRouteName], which is `/`). 71 /// A key to use when building this widget's [Navigator]. 73 /// If a [navigatorKey] is specified, the [Navigator] can be directly 75 /// [Navigator.of]: from the [navigatorKey], use the [GlobalKey.currentState] 78 /// If this is changed, a new [Navigator] will be created, losing all the [all …]
|
D | app.dart | 22 /// The [CupertinoApp] configures the top-level [Navigator] to search for routes 35 /// and [builder] is not null, then no [Navigator] is created. 37 /// This widget also configures the observer of the top-level [Navigator] (if 52 /// * [Navigator], which is used to manage the app's stack of pages. 62 /// [Navigator.defaultRouteName] (`/`), since that is the route used when the 117 /// When a named route is pushed with [Navigator.pushNamed], the route name is 231 // If the Navigator changes, we have to create a new observer, because the 232 // old Navigator won't be disposed (and thus won't unregister with its 234 // Navigator has a GlobalKey).
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | navigator_test.dart | 19 Navigator.pushNamed(context, '/second'); 38 onTap: () => Navigator.pop(context), 61 Navigator.of(context); 145 …testWidgets('Navigator.of fails gracefully when not found in context', (WidgetTester tester) async… 157 expect('$exception', startsWith('Navigator operation requested with a context')); 160 testWidgets('Navigator.of rootNavigator finds root Navigator', (WidgetTester tester) async { 171 child: Navigator( 179 Navigator.of(context).push( 185 Navigator.of(context, rootNavigator: true).push( 237 Navigator.pushNamed(context, '/second'); [all …]
|
D | page_transitions_test.dart | 64 expect(Navigator.canPop(containerKey1.currentContext), isFalse); 65 Navigator.pushNamed(containerKey1.currentContext, '/settings'); 66 expect(Navigator.canPop(containerKey1.currentContext), isTrue); 86 Navigator.push(containerKey2.currentContext, TestOverlayRoute()); 100 expect(Navigator.canPop(containerKey2.currentContext), isTrue); 101 Navigator.pop(containerKey2.currentContext); 114 expect(Navigator.canPop(containerKey2.currentContext), isTrue); 115 Navigator.pop(containerKey2.currentContext); 129 expect(Navigator.canPop(containerKey1.currentContext), isFalse); 165 Navigator.pushNamed(containerKey1.currentContext, '/settings'); [all …]
|
D | app_overrides_test.dart | 46 expect(find.byType(Navigator), findsOneWidget); 56 expect(find.byType(Navigator), findsOneWidget); 66 expect(find.byType(Navigator), findsOneWidget); 77 expect(find.byType(Navigator), findsOneWidget); 88 expect(find.byType(Navigator), findsOneWidget);
|
D | route_notification_messages_test.dart | 44 Navigator.pushNamed(context, '/A'); 49 Navigator.pop(context); 112 Navigator.pushNamed(context, '/A'); 117 Navigator.pushReplacementNamed(context, '/B');
|
D | heroes_test.dart | 49 onPressed: () { Navigator.pushNamed(context, '/two'); }, 53 onPressed: () { Navigator.pushNamed(context, '/twoInset'); }, 64 onPressed: () { Navigator.pop(context); }, 75 onPressed: () { Navigator.push(context, ThreeRoute()); }, 90 onPressed: () { Navigator.pop(context); }, 106 onPressed: () { Navigator.push(context, ThreeRoute()); }, 316 … return FlatButton(child: const Text('two'), onPressed: () => Navigator.push(context, route)); 418 final NavigatorState navigator = tester.state(find.byType(Navigator)); 456 Navigator.pushNamed(heroes.evaluate().first, 'test'); 459 Navigator.pop(heroes.evaluate().first); [all …]
|
D | navigator_replacement_test.dart | 20 final NavigatorState navigator = tester.state(find.byType(Navigator)); 58 final NavigatorState navigator = tester.state(find.byType(Navigator)); 123 final NavigatorState navigator = tester.state(find.byType(Navigator)); 163 final NavigatorState navigator = tester.state(find.byType(Navigator)); 208 final NavigatorState navigator = tester.state(find.byType(Navigator));
|
D | modal_barrier_test.dart | 92 …testWidgets('ModalBarrier pops the Navigator when dismissed by primay tap', (WidgetTester tester) … 117 …testWidgets('ModalBarrier pops the Navigator when dismissed by primary tap down', (WidgetTester te… 142 …testWidgets('ModalBarrier pops the Navigator when dismissed by non-primary tap down', (WidgetTeste… 167 …testWidgets('ModalBarrier does not pop the Navigator with a WillPopScope that returns false', (Wid… 207 …testWidgets('ModalBarrier pops the Navigator with a WillPopScope that returns true', (WidgetTester… 301 Navigator.pushNamed(context, '/modal');
|
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/material/ |
D | dialog_demo.dart | 74 .then<void>((T value) { // The value passed to Navigator.pop() or null. 110 onPressed: () { Navigator.pop(context, DialogDemoAction.cancel); }, 114 onPressed: () { Navigator.pop(context, DialogDemoAction.discard); }, 135 onPressed: () { Navigator.pop(context, DialogDemoAction.disagree); }, 139 onPressed: () { Navigator.pop(context, DialogDemoAction.agree); }, 158 onPressed: () { Navigator.pop(context, 'username@gmail.com'); }, 164 onPressed: () { Navigator.pop(context, 'user02@gmail.com'); }, 196 Navigator.push(context, MaterialPageRoute<DismissDialogAction>(
|
/third_party/flutter/flutter/packages/flutter/test/cupertino/ |
D | route_test.dart | 25 tester.state<NavigatorState>(find.byType(Navigator)).push( 55 tester.state<NavigatorState>(find.byType(Navigator)).push( 120 tester.state<NavigatorState>(find.byType(Navigator)).push( 135 tester.state<NavigatorState>(find.byType(Navigator)).push( 166 tester.state<NavigatorState>(find.byType(Navigator)).push( 181 tester.state<NavigatorState>(find.byType(Navigator)).push( 229 tester.state<NavigatorState>(find.byType(Navigator)).push(route2); 234 tester.state<NavigatorState>(find.byType(Navigator)).push(route3); 239 tester.state<NavigatorState>(find.byType(Navigator)).replace( 276 Navigator.push<void>(scaffoldKey.currentContext, CupertinoPageRoute<void>( [all …]
|
D | page_test.dart | 26 tester.state<NavigatorState>(find.byType(Navigator)).pushNamed('/next'); 52 tester.state<NavigatorState>(find.byType(Navigator)).pop(); 103 tester.state<NavigatorState>(find.byType(Navigator)).pushNamed('/next'); 126 tester.state<NavigatorState>(find.byType(Navigator)).pop(); 162 tester.state<NavigatorState>(find.byType(Navigator)).push(CupertinoPageRoute<void>( 188 tester.state<NavigatorState>(find.byType(Navigator)).pop(); 228 tester.state<NavigatorState>(find.byType(Navigator)).pushNamed('/next'); 287 tester.state<NavigatorState>(find.byType(Navigator)).push( 296 tester.state<NavigatorState>(find.byType(Navigator)).push( 334 tester.state<NavigatorState>(find.byType(Navigator)).push( [all …]
|
D | tab_test.dart | 43 Navigator.of(context).pushNamed('/2'); 66 if (settings.name == Navigator.defaultRouteName) { 130 Navigator.of(context).pushNamed('/2'); 155 Navigator.of(context).pushNamed('/2');
|
D | app_test.dart | 19 Navigator.push( 41 expect(find.widgetWithText(Navigator, 'foo'), findsOneWidget);
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | back_button.dart | 20 /// [Navigator.maybePop] to return to the previous route. 51 /// [Navigator.maybePop] to return to the previous route. 65 /// current [Route] is not the [Navigator]'s first route. 91 Navigator.maybePop(context); 100 /// close button calls [Navigator.maybePop] to return to the previous route. 124 Navigator.maybePop(context);
|
D | app.dart | 57 /// The [MaterialApp] configures the top-level [Navigator] to search for routes 69 /// If a [Navigator] is created, at least one of these options must handle the 74 /// This widget also configures the observer of the top-level [Navigator] (if 78 /// and [builder] is not null, then no [Navigator] is created. 148 /// * [Navigator], which is used to manage the app's stack of pages. 158 /// [Navigator.defaultRouteName] (`/`), since that is the route used when the 211 /// When a named route is pushed with [Navigator.pushNamed], the route name is 234 /// such as [Tooltip], [PopupMenuButton], also require a [Navigator] to properly 511 // If the Navigator changes, we have to create a new observer, because the 512 // old Navigator won't be disposed (and thus won't unregister with its [all …]
|
/third_party/flutter/flutter/dev/benchmarks/macrobenchmarks/lib/ |
D | main.dart | 43 Navigator.pushNamed(context, kCullOpacityRouteName); 50 Navigator.pushNamed(context, kCubicBezierRouteName); 57 Navigator.pushNamed(context, kBackdropFilterRouteName);
|
/third_party/flutter/flutter/packages/flutter/test/material/ |
D | page_test.dart | 27 tester.state<NavigatorState>(find.byType(Navigator)).pushNamed('/next'); 51 tester.state<NavigatorState>(find.byType(Navigator)).pop(); 89 tester.state<NavigatorState>(find.byType(Navigator)).pushNamed('/next'); 122 tester.state<NavigatorState>(find.byType(Navigator)).pop(); 159 tester.state<NavigatorState>(find.byType(Navigator)).push(MaterialPageRoute<void>( 185 tester.state<NavigatorState>(find.byType(Navigator)).pop(); 223 tester.state<NavigatorState>(find.byType(Navigator)).pushNamed('/next'); 254 tester.state<NavigatorState>(find.byType(Navigator)).pushNamed('/next'); 288 onPressed: () { Navigator.of(context).pushNamed('/b'); }, 358 tester.state<NavigatorState>(find.byType(Navigator)).push(MaterialPageRoute<void>( [all …]
|
D | page_transitions_theme_test.dart | 23 onPressed: () { Navigator.of(context).pushNamed('/b'); }, 50 onPressed: () { Navigator.of(context).pushNamed('/b'); }, 84 onPressed: () { Navigator.of(context).pushNamed('/b'); },
|
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/shrine/ |
D | login.dart | 42 Navigator.of(context, rootNavigator: true).pop(); 95 Navigator.of(context, rootNavigator: true).pop(); 105 Navigator.pop(context);
|
/third_party/flutter/flutter/examples/flutter_gallery/lib/gallery/ |
D | updater.dart | 60 Navigator.pop(context, false); 66 Navigator.pop(context, true);
|