← Back to Discover

Flutter AI Starter Kit

Flutter AI Starter Kit is a full-source Flutter chat app with streaming GPT-4o chat, voice input, saved chat history and a paywall screen, built on a Supabase backend.

App builders
Flutter AI Starter Kit cover image

What it does

Flutter AI Starter Kit is a ready-to-run Flutter app for building an AI chat product. It uses Supabase for the backend and OpenAI for the models. Buyers download the full project as a .zip with a step-by-step README and a troubleshooting table. They paste their Supabase and OpenAI keys into the included .env file. They run schema.sql once in the Supabase SQL Editor, which creates tables, policies and indexes. They then run flutter pub get and flutter run. During development the app calls OpenAI directly with the key from .env. For release, one line switches on production mode. Production mode routes requests through the included Supabase Edge Function. Flutter AI Starter Kit says this means the OpenAI key never ships inside the app. Flutter AI Starter Kit says the path from download to a running app takes about 15 minutes.

Capabilities

  • Streaming chat over Server-Sent Events delivers answers token by token. Tokens are pushed to the UI at most every 50 milliseconds.
  • Image attachments let the model see a photo. Users can switch between GPT-4o mini and GPT-4o in the chat.
  • Hands-free voice input provides speech-to-text with silence detection and auto-send.
  • Chat history is saved per user. Users can pin, rename and delete chats, and images and files go to Supabase Storage.
  • The Edge Function adds the OpenAI key on the server and enforces a daily message limit per user, which defaults to 50.

When to use it

  • You want to start an AI chat app in Flutter from working code rather than building the chat plumbing yourself.
  • You want to turn the assistant into something like a fitness coach or a support agent by changing one system prompt.
  • You need a paywall screen that is prepared for RevenueCat so you can connect real purchases later.