archi_gen 0.5.1
archi_gen: ^0.5.1 copied to clipboard
A CLI tool to generate Flutter Clean Architecture boilerplate. Generates core structure, features, and presets with dio, fresh_dio, flutter_bloc, go_router, get_it, fpdart, and google_fonts.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate archi_genUse it
The package has the following executables:
$ archi_gen
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add archi_genWith Flutter:
$ flutter pub add archi_genThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
archi_gen: ^0.5.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:archi_gen/archi_gen.dart';