if I use this strategy then should I store it as v...
# flutter
i
if I use this strategy then should I store it as variable to access the database later through it
v
I suggest you a service locator like GitIt for services https://pub.dev/packages/get_it
But that's maybe to advanced. When you use
supabase_flutter
, just use
Supabase.instance
https://github.com/supabase-community/supabase-flutter/blob/main/lib/src/supabase.dart#L29