SMF is a modular, pluggable CLI. The generated app is a single-package scaffold with selected features wired in.
$ ▊
smf create my_smf_app -m go_router,get_it,home
RouteGroup(
initialRoute: '/home',
coreGuards: [],
routes: [
NestedRoute(
shellLink: RouteShellLink.toMainTabsShell(),
children: [
Route(
path: '/home',
name: 'homeScreen',
screen: RouteScreen('HomeScreen'),
meta: RouteMeta(label: 'Home', icon: 'Icons.home', order: 0),
imports: [Import.features('home/home_screen.dart')],
),
],
),
],
);
// generated for go_router
Pick routing, DI, cloud, and UI modules. Add your own contributors later with IModuleCodeContributor.
We run Mason for structure, DSL generators for routing, and AST contributions (experimental). Code is auto formatted after generation.
Regenerates from scratch. Conflicting files are overwritten to match your selected modules. No backups yet. (alpha)
Open source core is free. No lock in, your repo, your rules. This is an ALPHA - expect rapid changes.
dart pub global activate smf_flutter_cli
smf create my_app