dz_flutter_template 0.0.1
dz_flutter_template: ^0.0.1 copied to clipboard
A DZ Flutter template for both android and iOS.
This library is still under development.
Boilerplate DZ Template: #
A DZ Flutter package template to start a project.
Overview #
This is a basic code template that include following features:
- API calling
- Material Dialog
- String Utils
- Toast Utils
- Pick Image from Camera & Gallery
- Crop a Image
- Shared Preference
- Logger
- Json Utils
Platform Support #
| Platform | Automatically Supported? | Appcast Supported? |
|---|---|---|
| ANDROID | ✅ Yes | ✅ Yes |
| IOS | ✅ Yes | ✅ Yes |
| LINUX | ❌ No | ✅ No |
| MACOS | ❌ No | ✅ No |
| WEB | ❌ No | ✅ No |
| WINDOWS | ❌ No | ✅ No |
Shared Preference Example #
To Save Data:
StorageService.saveData('UserName', "Flutter Tester");
To Get Data:
String? userName = StorageService.getData('UserName');
Libraries Used #
http: ^1.1.0 logger: ^2.0.1 shared_preferences: ^2.2.0 flutter_styled_toast: ^2.1.3 image_picker: ^1.0.2 image_cropper: ^5.0.0 material_dialogs: ^1.1.4 lottie: ^2.6.0