refactor(ui): Update some UI and fix some bugs
This commit is contained in:
@@ -16,6 +16,7 @@ class AppThemeDark extends AppTheme {
|
||||
useMaterial3: true,
|
||||
scheme: FlexScheme.flutterDash,
|
||||
subThemesData: const FlexSubThemesData(
|
||||
snackBarBackgroundSchemeColor: SchemeColor.black,
|
||||
inputDecoratorRadius: 30,
|
||||
interactionEffects: true,
|
||||
tintedDisabledControls: true,
|
||||
@@ -30,24 +31,4 @@ class AppThemeDark extends AppTheme {
|
||||
),
|
||||
visualDensity: FlexColorScheme.comfortablePlatformDensity,
|
||||
);
|
||||
|
||||
// ThemeData.dark().copyWith(
|
||||
// useMaterial3: true,
|
||||
// colorScheme: _buildColorScheme,
|
||||
// );
|
||||
|
||||
// ColorScheme get _buildColorScheme => FlexColorScheme.dark().toScheme;
|
||||
// ColorScheme(
|
||||
// brightness: Brightness.dark,
|
||||
// primary: Colors.blue.shade900,
|
||||
// onPrimary: Colors.blue,
|
||||
// secondary: Colors.white,
|
||||
// onSecondary: Colors.white70,
|
||||
// error: Colors.red,
|
||||
// onError: Colors.orange,
|
||||
// background: Colors.black,
|
||||
// onBackground: Colors.white70,
|
||||
// surface: Colors.grey,
|
||||
// onSurface: Colors.white,
|
||||
// );
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@ class AppThemeLight extends AppTheme {
|
||||
scheme: FlexScheme.flutterDash,
|
||||
bottomAppBarElevation: 20.0,
|
||||
subThemesData: const FlexSubThemesData(
|
||||
snackBarBackgroundSchemeColor: SchemeColor.surfaceBright,
|
||||
inputDecoratorRadius: 30,
|
||||
interactionEffects: true,
|
||||
tintedDisabledControls: true,
|
||||
|
||||
Reference in New Issue
Block a user