flutter_app_generator 1.0.0
flutter_app_generator: ^1.0.0 copied to clipboard
A powerful CLI tool for generating production-ready Flutter applications with pre-configured dependencies, Firebase integration, and localization support.
// ignore_for_file: avoid_print
import 'package:flutter_app_generator/flutter_app_generator.dart';
/// Example of using Flutter App Generator programmatically
void main() async {
// Create instance of the generator
final generator = FlutterAppGenerator();
try {
// Generate app programmatically
await generator.createApp(
appName: 'my_example_app',
bundleId: 'com.example.myapp',
description: 'An example app created with Flutter App Generator',
platforms: 'android,ios,web',
verbose: true,
);
print('\n✅ App created successfully!');
} catch (e) {
print('❌ Error creating app: $e');
}
}