This repository was archived by the owner on Aug 31, 2022. It is now read-only.
Description I get this error when saving a new helper.
What did I wrong?
Thanks for help, would be awesome to use your codeless onboarding!
This is how I wrapped my app with the pal widget:
void main () async {
//Routes.setupRouter();
WidgetsFlutterBinding .ensureInitialized ();
await Firebase .initializeApp ();
if (! kIsWeb) await FirebaseRemoteConfig .setupRemoteConfig ();
final _navigatorKey = GlobalKey <NavigatorState >();
runApp (MultiProvider (
providers: [
// StreamProvider<FirebaseAuthentication.User>.value(
// value: authenticatedUser),
ChangeNotifierProvider (create: (context) => CounterService ()),
ChangeNotifierProvider (
create: (context) => AuthNotifier (),
),
ChangeNotifierProvider (
create: (context) => TeamNotifier (),
),
ChangeNotifierProvider (
create: (context) => MatchEngine (),
),
],
child: OverlaySupport (
child: Pal (
editorModeEnabled: true ,
appToken: 'eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI0Y2FhZjI0NC1jNGZkLTRhZmMtYmYyYS01ZjNjZTMwMzMyODYiLCJ0eXBlIjoiUFJPSkVDVCIsImlhdCI6MTYxMDA4MzMzMH0.QxzaLbqm1w0F1ICR-zVa6O_PTeGKqWL8N3VNE0JlfFE' ,
childApp: MaterialApp (
key: ValueKey ('hostedApp' ),
navigatorKey: _navigatorKey, // add this in your app
navigatorObservers: [PalNavigatorObserver .instance ()], // add this in your app
title: 'Dream-teams.com' ,
debugShowCheckedModeBanner: false ,
theme: ThemeData (
primaryColorBrightness: Brightness .light,
primarySwatch: Colors .pink,
primaryColor: Colors .pink,
fontFamily: 'Verdana' ,
),
initialRoute: '/' ,
onGenerateRoute: Routes .generateRoute,
/* routes: {
WrapperPage.route: (BuildContext context) => new WrapperPage(),
MyApp.route: (BuildContext context) => new MyApp(),
},*/
//home: WrapperPage(),
),
)),
));
}Reactions are currently unavailable
I get this error when saving a new helper.
What did I wrong?
Thanks for help, would be awesome to use your codeless onboarding!
This is how I wrapped my app with the pal widget: