init static method
make sure you deleted all files from lib folder before run this function.
it will =>
- create project structure.
- add some required packages.
- add assets to projects.
- remove comments from pubspec.yaml .
- run pub get command
Implementation
static Future<void> init([String initScreenName = 'splash']) async {
await _createProjectStructure(initScreenName);
await addPackages(_packagesTemp);
await _initYaml();
await _createNew('helper', _commonFolder, _helperTemp);
}