routesAppContent static method
- @Deprecated('Migrated to install.yaml publish:; will be removed in V2')
- required String appName,
Generates lib/routes/app.dart with a single welcome route.
appName used only for documentation context; not embedded in code.
Implementation
@Deprecated('Migrated to install.yaml publish:; will be removed in V2')
static String routesAppContent({required String appName}) {
// Note: The original template doesn't actually use appName in the body,
// so this is just loading the static stub.
return StubLoader.load('install/routes_app');
}