create project
This commit is contained in:
23
frontend/lib/main.dart
Normal file
23
frontend/lib/main.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'app.dart';
|
||||
import 'theme/app_theme.dart';
|
||||
|
||||
void main() {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
runApp(const ProviderScope(child: FamilyAccountingApp()));
|
||||
}
|
||||
|
||||
class FamilyAccountingApp extends StatelessWidget {
|
||||
const FamilyAccountingApp({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
title: '家庭记账',
|
||||
theme: AppTheme.light,
|
||||
home: const AppShell(),
|
||||
debugShowCheckedModeBanner: false,
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user