README.md
June 17, 2026 · View on GitHub
Supabase Flutter
Flutter client library for Supabase.
Run locally
This repo is a monorepo powered by Melos containing supabase_flutter and its sub-libraries. All packages are located in the packages directory.
To install on a locally developed app:
- Clone this repo
- Install Melos globally if you haven't already:
dart pub global activate melos - Run
melos bootstrapormelos bsat the root of the cloned directory to install dependencies - Add the target package to your
pubspec.yamlfile specifying the path.supabase_flutter: path: <your-path-to-the-local-supabase-flutter-repo>/packages/supabase_flutter
Testing
The tests for the packages postgrest, gotrue, realtime_client and storage_client run against a
local Supabase stack. To run these tests locally you need docker and the
Supabase CLI installed.
The single configuration for the stack lives in the supabase directory at the repository root.
Start it with:
supabase start
Run the Dart tests within the package directory in packages/<package> with the following command.
The -j 1 flag runs the tests not concurrently, which works better since the tests run against the
same services.
dart test -j 1
To stop the stack run the following command from the repository root:
supabase stop
Contributing
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull request so that we can review your changes and merge
License
This repo is licensed under MIT.