Skip to main content

flab 1.0.4 copy "flab: ^1.0.4" to clipboard
flab: ^1.0.4 copied to clipboard

A CLI tool to scaffold Flutter projects with Clean Architecture, MVVM, MVC, and custom themes.

example/example.dart

/// Example showing how to use the FLAB CLI commands in your terminal.
void main() {
  print('--- FLAB CLI Quick Usage Example ---\n');

  // 1. Initialize Project
  print('1. Bootstrap a new Flutter project:');
  print('   \$ flab init my_awesome_app\n');

  // 2. Scaffold Feature Modules
  print('2. Scaffold Clean Architecture with default GetX:');
  print('   \$ flab auth\n');

  print('3. Scaffold MVVM and choose state management:');
  print('   \$ flab profile --mvvm\n');

  // 4. Inject Specific Component
  print('4. Inject a custom UseCase:');
  print('   \$ flab auth -u LoginUser\n');

  // 4. Config & Utilities
  print('5. Inject theme configuration:');
  print('   \$ flab config theme\n');

  // 5. Diagnostics
  print('6. Check project health:');
  print('   \$ flab doctor\n');

  print('------------------------------------');
  print('For full command details, run: flab --help');
}
5
likes
160
points
175
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A CLI tool to scaffold Flutter projects with Clean Architecture, MVVM, MVC, and custom themes.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, cli_dialog, io, mason_logger, path

More

Packages that depend on flab