Flutter
Optimized Supabase Codegen for Flutter with automatic environment loading.
The supabase_codegen_flutter package is optimized for Flutter development, providing automatic environment loading and convenient service getters.
Integration & Service Getters
supabase_codegen_flutter provides a global supabase instance and specific clients for each service.
The loadClientFromEnv() function automatically loads from config.env and
initializes Supabase for you.
import 'package:supabase_codegen_flutter/supabase_codegen_flutter.dart';
void main() async {
await loadClientFromEnv();
runApp(const MyApp());
}
// Access services anywhere
final auth = authClient;
final storage = storageClient;
final functions = functionsClient;
final realtime = realtimeClient;