@@ -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,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user