Merge pull request #2 from KometTeam/reorg

Михотт епт твою
This commit is contained in:
ivan2282
2025-11-30 19:44:18 +03:00
committed by GitHub

View File

@@ -82,6 +82,7 @@ class MyApp extends StatelessWidget {
dynamicSchemeVariant: DynamicSchemeVariant.tonalSpot, dynamicSchemeVariant: DynamicSchemeVariant.tonalSpot,
), ),
useMaterial3: true, useMaterial3: true,
pageTransitionsTheme: PageTransitionsTheme(builders: {TargetPlatform.android: CupertinoPageTransitionsBuilder()}),
appBarTheme: AppBarTheme( appBarTheme: AppBarTheme(
titleTextStyle: TextStyle( titleTextStyle: TextStyle(
fontSize: 16, fontSize: 16,
@@ -89,7 +90,7 @@ class MyApp extends StatelessWidget {
color: ColorScheme.fromSeed( color: ColorScheme.fromSeed(
seedColor: accentColor, seedColor: accentColor,
brightness: Brightness.light, brightness: Brightness.light,
).onSurface, // ← Используем цвет onSurface из цветовой схемы ).onSurface,
), ),
), ),
); );