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 applicationName) async {
Chaotic.applicationName = applicationName;
await _createProjectStructure();
await _addPackages();
await _initYaml();
}