Skip to content

ashuhlee/flutter-demo

Repository files navigation

Flutter + Supabase

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.

Preview

preview image     preview gif

Requirements

  • Flutter SDK (^3.12.1)
  • A Supabase project with a notes table

Build from Source

  1. Clone the repo + install dependencies:
  git clone https://github.com/ashuhlee/flutter-demo
  cd todo_app
  flutter pub get
  1. Create a .env file in the project root with Supabase credentials:
  URL=your_supabase_project_url
  PUBLISHABLE_KEY=your_supabase_publishable_key
  1. Set up a Supabase notes table with the following columns:

    • id (int8, primary key, auto-increment)
    • content (text)
    • created_at (timestamptz, default now())
    • updated_at (timestamptz, nullable)
    • order (int8)
  2. Run the app:

  flutter run

Project Structure

lib/
├── 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.)

About

A cute notes app built with Flutter and Supabase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages