Introduction

Learn how to get started with Supabase Codegen in your Dart or Flutter project.

A comprehensive suite of packages for generating type-safe Dart models from Supabase databases, supporting pure Dart, Flutter, and Serverpod applications.

Quick Start

1. Install

Add the appropriate package to your pubspec.yaml:

dependencies: 
  supabase_codegen_flutter: ^4.0.0 

2. Initialize

Run the initialization command to create a .supabase_codegen.yaml file:

dart run supabase_codegen_flutter:init 

3. Generate

Generate your types with a single command:

dart run supabase_codegen_flutter:generate_types