supabase_gen 1.1.0
supabase_gen: ^1.1.0 copied to clipboard
A Dart package that generates Flutter repositories and models from Supabase database. Compatible with latest Supabase Flutter SDK. Requires supabase_flutter ^2.8.4 as a dependency in your app.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add supabase_gen
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
supabase_gen: ^1.1.0
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:supabase_gen/supabase_gen.dart';