flg 1.3.0 copy "flg: ^1.3.0" to clipboard
flg: ^1.3.0 copied to clipboard

A CLI tool for generating Flutter projects with Clean Architecture, feature-first organization, and modern state management (Riverpod, Bloc, Provider).

example/main.dart

import 'package:flg/flg.dart';

void main() {
  final config = FcliConfig.defaults('todo_app').copyWith(
    features: const ['auth', 'todos'],
  );

  final entityName = StringUtils.toSnakeCase('TodoItem');
  final routerCode = AppRouterTemplate.generate(config);

  print('Project: ${config.projectName}');
  print(
      'Entity file: lib/features/todos/domain/entities/${entityName}_entity.dart');
  print('Router preview:');
  print(routerCode);
}
3
likes
160
points
179
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A CLI tool for generating Flutter projects with Clean Architecture, feature-first organization, and modern state management (Riverpod, Bloc, Provider).

Repository (GitHub)
View/report issues

Topics

#cli #flutter #clean-architecture #code-generator #scaffolding

License

MIT (license)

Dependencies

args, dart_mcp, path, recase, yaml

More

Packages that depend on flg