init static method

Future<void> init([
  1. String initScreenName = 'splash'
])

make sure you deleted all files from lib folder before run this function.

it will =>

  1. create project structure.
  2. add some required packages.
  3. add assets to projects.
  4. remove comments from pubspec.yaml .
  5. 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);
}