mainFile top-level constant
Implementation
const mainFile = [
"import 'package:flutter/material.dart';",
"import 'package:{app}/presentation/pages/{page}/{page}.page.dart';",
'void main() => runApp(const MyApp());',
'class MyApp extends StatelessWidget {',
' const MyApp({super.key});',
' @override',
' Widget build(BuildContext context) {',
' return const MaterialApp(home: {pageCamelCase}Page());',
' }',
'}'
];