flutter_architect_cli 1.1.1 copy "flutter_architect_cli: ^1.1.1" to clipboard
flutter_architect_cli: ^1.1.1 copied to clipboard

A CLI tool to scaffold Flutter projects with multiple architecture patterns (Clean Architecture, MVC, MVVM, MVP)

example/lib/main.dart

import 'package:flutter/material.dart';

/// Entry point of the example application.
void main() {
  runApp(const MyApp());
}

/// Minimal example widget used for pub.dev preview.
class MyApp extends StatelessWidget {
  /// Creates the root example widget.
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Architect CLI Example',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const Scaffold(
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Icon(Icons.architecture, size: 64, color: Colors.blue),
              SizedBox(height: 20),
              Text(
                'Flutter Architect CLI',
                style: TextStyle(fontSize: 24, fontWeight: FontWeight.bold),
              ),
              SizedBox(height: 10),
              Text(
                'Run in terminal:',
                style: TextStyle(fontSize: 16),
              ),
              SizedBox(height: 10),
              Text(
                'flutter_architect create my_app',
                style: TextStyle(
                  fontSize: 16,
                  fontFamily: 'monospace',
                  backgroundColor: Colors.black12,
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
16
likes
160
points
44
downloads

Publisher

unverified uploader

Weekly Downloads

A CLI tool to scaffold Flutter projects with multiple architecture patterns (Clean Architecture, MVC, MVVM, MVP)

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, path

More

Packages that depend on flutter_architect_cli