Flutter boilerplate to kick start your application development process.
- add the following in your
pubspec.yaml
:
dependencies:
flutter_boilerplate: ^0.0.1
This command will add the basic project structure for your flutter application.
- COMMAND:
flutter pub run flutter_boilerplate:init
Note: Run above command only for new projects. It will replace the lib folder
& replace pubspec.yaml
files of your project.
Don't forget to setup icons
, splash screens
and package name
after initialization of base project. (Steps are written in respective YAML files).
All required YAML files will be imported to your project directly after running the init
command!
Module name | argument | package version | latest version |
---|---|---|---|
Responsive Framework | responsive_framework | ^0.2.0 | |
Dio | dio | ^4.0.6 | |
Get Storage | get_storage | ^2.0.3 | |
Path Provider | path_provider | ^2.0.11 |
- COMMAND:
flutter pub run flutter_boilerplate:add <arguments>
Note: You have to manually import & do native configurations for respective packages. Below Service modules will be added to your project at PATH:- lib/common/services/<argument>
=> more modules will be included in future!!