INNER CODE UNIT · Dart
ProviderApp
gregertw/actingweb_firstapp · lib/app.dart:28
class ProviderApp extends StatelessWidget {
final FirebaseAnalytics analytics;
const ProviderApp({
super.key,
required this.analytics,
});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false, // set to true to see the debug banner
// Providing a restorationScopeId allows the Navigator built by the
// MaterialApp to restore the navigation stack when a user leaves and
// returns to the app after it has been killed while running in the
// background.
restorationScopeId: 'first_app',
navigatorObservers: [