Gadfly Flutter Template

This is for personal use, so I don't recommend using it. It is not documented and it is subject to change.

Previous versions

Setup

FVM

Install FVM

brew tap leoafarias/fvm

brew install fvm

fvm install 3.19.6

Then be sure to close your editor and reopen it. Run the following in a terminal at this projects path.

fvm flutter version

The version should be 3.19.6.

Supabase

brew install supabase/tap/supabase

# supabase --version
# 1.142.2

Usage

For a flutter-only app:

./create_app.sh <entire fvm flutter command>

# example:
# ./create_app.sh fvm flutter create my_app

For a flutter+supabase app:

./create_supabase_app.sh <entire fvm flutter command>

# example:
# ./create_supabase_app.sh fvm flutter create my_app

Note: make sure to use fvm flutter create my_app and not simply flutter create my_app!

Note: There is a bug in the supabase init command where the --with-vscode-settings flag is broken. Your create_app.sh will eventually stop and you will see Generate VS Code settings for Deno? [y/N]. Be sure to answer N because y doesn't work.

Then cd into the projects/my_app directory and open the README.md.