Add stub for MyApp to prevent error in Main

This commit is contained in:
PLyn committed 2024-05-20 13:26:58 -05:00
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.