A demo notes application built with Flutter and Supabase integration, showcasing real-time sync, custom theming and a polished user interface. Create, edit, and delete notes, drag to reorder, search feature, etc.
- Flutter SDK (^3.12.1)
- A Supabase project with a
notestable
- Clone the repo + install dependencies:
git clone https://github.com/ashuhlee/flutter-demo
cd todo_app
flutter pub get- Create a
.envfile in the project root with Supabase credentials:
URL=your_supabase_project_url
PUBLISHABLE_KEY=your_supabase_publishable_key
-
Set up a Supabase
notestable with the following columns:id(int8, primary key, auto-increment)content(text)created_at(timestamptz, defaultnow())updated_at(timestamptz, nullable)order(int8)
-
Run the app:
flutter runlib/
├── models/ # Note data model
├── services/ # Supabase database operations
├── theme/ # Colors and app theme
├── utils/ # Date formatting helpers
├── views/ # Main screen
└── widgets/ # Reusable UI components (app bar, dialogs, cards, etc.)