brizaldi/flutter-project-template-riverpod
Riverpod का उपयोग करके एक नए Flutter प्रोजेक्ट के लिए शुरुआती टेम्पलेट।
- Stars
- 102
- Forks
- 24
- अंतिम पुश (UTC)
- 6 दिस॰ 2023
- प्रोजेक्ट स्थिति
- सक्रिय
भाषाएँDartC++CMakeHTMLCSwiftKotlinObjective-C
तकनीकी विषय
उपयोग की गई निर्भरताएँ
निर्भरता सूची 32 आइटम
- flutter
{"sdk":"flutter"} - flutter_localizations
{"sdk":"flutter"} - flutter_web_plugins
{"sdk":"flutter"} - cached_network_image
^3.3.0 - flash
^3.1.0 - flutter_keyboard_visibility
^5.4.1 - google_fonts
^6.1.0 - flutter_vector_icons
^2.0.0 - firebase_analytics
^10.7.2 - firebase_core
^2.24.0 - firebase_crashlytics
^3.4.6 - firebase_messaging
^14.7.6 - awesome_notifications
^0.8.2 - dio
^5.3.4 - pretty_dio_logger
^1.3.1 - freezed_annotation
^2.4.1 - json_annotation
^4.8.1 - hooks_riverpod
^2.4.9 - fpdart
^1.1.0 - logging
^1.2.0 - go_router
^12.1.1 - flutter_secure_storage
^9.0.0 - hive_flutter
^1.1.0 - hive
^2.2.3 - intl
^0.18.1 - jiffy
^6.2.1 - flutter_testडेवलपमेंट
{"sdk":"flutter"} - build_runnerडेवलपमेंट
^2.4.7 - flutter_launcher_iconsडेवलपमेंट
^0.13.1 - flutter_native_splashडेवलपमेंट
^2.3.6 - freezedडेवलपमेंट
^2.4.5 - json_serializableडेवलपमेंट
^6.7.1
रैंकिंग
मूल README
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
README खोलें / बंद करें
flutter-project-template-riverpod
Requirements
Flutter: >=3.16.0 Dart SDK: >=3.2.0
Supported Platforms
| Android | iOS | Web | Windows | MacOS | Linux |
|---|---|---|---|---|---|
| ✅ | ✅ | ✅ | ✅ | ❌ | ❌ |
Live Demo
https://brizaldi.github.io/flutter-project-template-riverpod/
Installation
- Add Flutter to your machine
- Open this project folder with Terminal/CMD
- Ensure there's no cache/build leftover by running
flutter cleanin the Terminal - Run in the Terminal
flutter packages get - Run in the Terminal
dart run build_runner build --delete-conflicting-outputs
Additional steps for iOS
- Open ios folder inside Terminal/CMD
- Run in the Terminal
pod install - Run in the Terminal
pod update
Running the App
- Open Android Emulator or iOS Simulator
- Run
flutter run --flavor {RELEASE_TYPE} --dart-define flavor={RELEASE_TYPE} - Supported release type:
development,staging, andproduction
Build an APK
- Run
flutter build apk --flavor {RELEASE_TYPE} - The apk will be saved under this location:
[project]/build/app/outputs/flutter-apk/ - We can also build appbundle (.aab) by running this command:
flutter build appbundle --flavor {RELEASE_TYPE} --dart-define flavor={RELEASE_TYPE}
Build for iOS
- Follow the tutorial from this link: https://flutter.dev/docs/deployment/ios#create-a-build-archive-with-xcode
- Don't forget to add the release type behind the build command
- For example
flutter build ipa --flavor {RELEASE_TYPE} --dart-define flavor={RELEASE_TYPE}
For more information, check out the official documentation