Skip to main content

Frontend (Flutter)

Welcome to my Flutter docs! Below is the project structure I use for the app.

Flutter Project Structure

  • /flutter/android,ios,linux,macos,web,windows -> Directories containing native code
  • /flutter/lib
    • /flutter/lib/screens -> A container for components that is typically passed into the router
    • /flutter/lib/components -> Components that are contained within the screens
    • /flutter/lib/services -> Utility or state management classes are stored here
    • /flutter/lib/models -> Class or interface definitions that are passed around
  • /flutter/env.json -> Environment variables for production
  • /flutter/env.local.json -> Environment variables for local development
  • /flutter/bumpversion.sh -> Script used for upgrading the app version
warning

Do NOT put sensitive keys into env.json or env.local.json