No description
- Dart 68.3%
- C++ 14.7%
- CMake 11.5%
- Ruby 1.7%
- Swift 1.4%
- Other 2.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| android | ||
| assets | ||
| ios | ||
| lib | ||
| linux | ||
| macos | ||
| test | ||
| web | ||
| windows | ||
| .fvmrc | ||
| .gitignore | ||
| analysis_options.yaml | ||
| bitbucket-pipelines.yml | ||
| build.yaml | ||
| clean.sh | ||
| pubspec.lock | ||
| pubspec.yaml | ||
| README.md | ||
Flutter Template
Template version: 3.0.0 A Flutter project emplate with the default configurations and packages used in all Mediatastisch Flutter projects.
For more information about the emplate, see Flutter Guidelines.
Additions/Improvements
If you have any additions or improvements, please create a pull request. And increase the version number in the README.md file.
Included in this project
- Localization
- Authentication
- Access token management
- Routing
- State Management
- Database
- API calls
- Code generation
- Shared preferences
- Secure storage
- Device info
- Package info
- Database inspectors
Examples
- Whitelabel: see
example/whitelabelbranch
FVM (Flutter Version Management)
Flutter version: see .fvm/fvm.config.json
Usage (install version in project)
fvm use
Run Locally
Step 1: Navigate to the project directory
Install dependencies:
fvm flutter pub get
Step 2: Start the builder
Run once:
fvm flutter pub run build_runner build --delete-conflicting-outputs
Or watch for file changes (recommended):
fvm flutter pub run build_runner watch --delete-conflicting-outputs
Step 3: Run the app on a device/emulator
Generate translation strings
Run only if the locale_keys.g.dart file does not exist or if new translation strings have been added:
fvm flutter pub run easy_localization:generate -S assets/translations -f keys -O lib/l10n -o locale_keys.g.dart
Used packages and what they do
Core Features
- easy_localization - For localization
- freezed - For immutable classes
- go_router - For routing
- shared_preferences - For shared preferences
- flutter_secure_storage - For secure storage
- device_info_plus - For device information
- package_info_plus - For package information
- build_runner - For code generation
API
State Management
- riverpod - For state management
- hooks_riverpod - For hooks
Database
- drift - For database management
Database Inspectors
- storage_inspector - For Drift database
- preferences_local_storage_inspector - For shared preferences
- secure_storage_local_storage_inspector - For secure storage
- drift_local_storage_inspector - For Drift local storage