This is my take for a simple Flutter template that can be used to start a new project. It includes a few packages that I use in most of my projects, and a few other things that I find useful.
Hey I'm Joe.
- Built more than 30 Flutter apps
- More than 500 000 downloads
You can find my apps here:
And you can find me here:
- Riverpod
- Dark Mode
- Rate my app
- Settings UI
- Material Theme
- Code generation
- Bottom Navigation
- Logger & Provider Logger
- Navigation with auto_route
Some code is generated using build_runner.
Make sure to run before you run the app:
flutter pub run build_runner build --delete-conflicting-outputs
I use a feature first
folder structure.
For example the dashboard feature is located in lib/features/dashboard
.
Within this folder you will find the following folders:
views
- contains the UIproviders
- contains the providersmodels
- contains the models
lib/common
contains code that is shared across the app. For example the widget
folder contains the nav bar and a primary button.
- Riverpod
- Official documentation https://riverpod.dev/
- Needs the code generation to be run before used.
- The dashboard is a good example of how to use it.
- auto_route
- Official documentation https://pub.dev/packages/auto_route
- Needs the code generation to be run before used.
I'm releasing a complete starter kit for Flutter soon. It will include a lot of useful things like
- Onboarding
- Localizations
- Authentication
- A lot of extensions
- local database (hive)
- Firebase integration
- Global error handling
- Push notification set up
- CI/CD with Fastlane and Github Actions
Basically you can start building out your features right away. Save 60+ hours of development time.
Find it here. Only 99$ for the first 100 customers. https://fastfluttertemplate.com