23 lines
582 B
Dart
23 lines
582 B
Dart
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,
|
|
);
|
|
}
|
|
} |