Add tests for navigator.restorable_push.0.dart (#157492)
Contributes to https://github.com/flutter/flutter/issues/130459 It adds a test for - `examples/api/lib/widgets/navigator/navigator.restorable_push.0.dart`
This commit is contained in:
@@ -13,8 +13,12 @@ class RestorablePushExampleApp extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return const MaterialApp(
|
||||
home: RestorablePushExample(),
|
||||
return const RootRestorationScope(
|
||||
restorationId: 'app',
|
||||
child: MaterialApp(
|
||||
restorationScopeId: 'app',
|
||||
home: RestorablePushExample(),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user