Start your new Flutter application development with this Flutter boilerplate template.
This template is completely built with StatefulWidget and Provider.
- Install Flutter
- Install CocoaPods
- Install Android Studio for Android
- Install Xcode for iOS
- Install Visual Studio Code editor for Flutter development
- Setup environment variables for Android
- Install Xcode command line tools for iOS
- Install an Android Emulator or iOS Simulator
- Clone this repo
git clone https://github.com/ar9t4/flutter-boilerplate.git
- Go to project's root directory,
cd flutter-boilerplate
- Optional - Remove
.git
folder and replace/add your repo's.git
folder - Run
flutter pub get
- For iOS - Run
cd ios
at first,pod install
at second andcd..
at third execution - Connect an Android / iOS device or Android Emulator / iOS Simulator
- Run
flutter run
- Woah, You are Done!
- Dio - A pre-configured class for HTTP api calling
- Preferences - A pre-configured class for persisting simple data
- Providers - Used for state management i.e. updating states on UI while fetching data from network i.e loading, error or data state
- AsyncResponse Class - A class for dealing with all possible states of an api call i.e Loading, Error and Data
- A bottom tab navigation, navigations between pages, send and recieve data while navigating between pages
- Dark Theme support
- Multi-Lingual support
- Users screen
- User Details screen
- Settings screen
- Feedback screen
- More screen
- Provider For state management
- Dio For HTTP networking
- JSONAnnotation For JSON serialization and deserialization
- Shared Preferences For platform-specific persistance of simple data
- Url Launcher For launching a URL on platform-specific browser
- Share Plus For A sharing content via the platform-specific share UI
- Email Sender For sending emails using platform-specific functionality
- Localization For multi-lingual support
- Package Info For getting platform-specific package related information like app name, version and etc.
Light Mode | Dark Mode |
PR's created as per Offical Guidelines are always welcome.