Join Discord
Powered by
if I use this strategy then should I store it as v...
# flutter
i
Infinil
04/10/2022, 10:33 AM
if I use this strategy then should I store it as variable to access the database later through it
v
Vinzent
04/10/2022, 12:03 PM
I suggest you a service locator like GitIt for services
https://pub.dev/packages/get_it
Vinzent
04/10/2022, 12:15 PM
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
Previous
Next