About page

This commit is contained in:
2025-09-13 02:26:35 +08:00
parent 2575803aa4
commit 3b315d26fa
11 changed files with 157 additions and 50 deletions

View File

@@ -17,19 +17,17 @@ class CalcApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp.router(
title: '方程计算器',
title: 'SimpleMathCalc',
theme: ThemeData(
primarySwatch: Colors.blue,
useMaterial3: true,
textTheme: GoogleFonts.notoSerifScTextTheme(
Theme.of(context).textTheme, // Inherit existing text theme
ThemeData().textTheme, // Inherit existing text theme
),
),
darkTheme: ThemeData.dark().copyWith(
primaryColor: Colors.blue,
textTheme: GoogleFonts.notoSerifScTextTheme(
Theme.of(context).textTheme,
),
textTheme: GoogleFonts.notoSerifScTextTheme(ThemeData.dark().textTheme),
),
themeMode: ThemeMode.system,
routerConfig: _router,