mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 23:59:08 +03:00
Add stub for MyApp to prevent error in Main
This commit is contained in:
1 parent
cb0df48100
commit
c189ce707c
1 file changed
+9
@@ -77,6 +77,15 @@ void main() async {
|
||||
|
||||
/// Extract SupabaseClient instance in a handy variable
|
||||
final supabase = Supabase.instance.client;
|
||||
|
||||
class MyApp extends StatelessWidget {
|
||||
const MyApp({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return const MaterialApp(title: 'Supabase Flutter');
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Also, add [go_router](https://pub.dev/packages/go_router) to handle our routing and redirects.
|
||||
|
||||
Reference in new issue
Block a user