appFileContent constant
String
const appFileContent
Implementation
static const String appFileContent = """import 'package:flutter/material.dart';
import 'package:<app_name>/App/routes/app_routes.dart';
import 'package:<app_name>/App/routes/route_navigator.dart';
import 'App/core/theme/theme.dart';
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
initialRoute: Routes.initial,
routes: RouteNavigator.routes,
theme: lightTheme,
darkTheme: darkTheme,
themeMode: ThemeMode.system,
);
}
}""";