@@ -7,13 +7,13 @@ import 'light/light_theme_interface.dart';
77class  AppThemeLight  extends  AppTheme  with  ILightTheme  {
88 static  AppThemeLight  _instance;
99 static  AppThemeLight  get  instance {
10-  if  (_instance ==  null ) _instance =  AppThemeLight ._init ();
11-  return  _instance;
10+  return  _instance ?? =  AppThemeLight ._init ();
1211 }
1312
1413 AppThemeLight ._init ();
1514
1615 // ThemeData get theme => redTheme; 
16+  @override 
1717 ThemeData  get  theme =>  ThemeData (
1818 fontFamily:  ApplicationConstants .FONT_FAMILY ,
1919 colorScheme:  _appColorScheme,
@@ -22,11 +22,19 @@ class AppThemeLight extends AppTheme with ILightTheme {
2222 inputDecorationTheme:  InputDecorationTheme (
2323 focusColor:  Colors .black12,
2424 labelStyle:  TextStyle (),
25-  enabledBorder:  UnderlineInputBorder (borderSide:  BorderSide (color:  Colors .red)),
26-  border:  UnderlineInputBorder (borderSide:  BorderSide (color:  Colors .red)),
27-  focusedBorder:  UnderlineInputBorder (borderSide:  BorderSide (color:  Colors .red))),
25+  fillColor:  Colors .white,
26+  contentPadding:  EdgeInsets .zero,
27+  filled:  true ,
28+  enabledBorder:  OutlineInputBorder (borderSide:  BorderSide (width:  0.3 )),
29+  // border: OutlineInputBorder(borderSide: BorderSide(width: 0.3)), 
30+  focusedBorder:  OutlineInputBorder ()),
2831 scaffoldBackgroundColor:  Color (0xfff1f3f8 ),
2932 floatingActionButtonTheme:  ThemeData .light ().floatingActionButtonTheme.copyWith (),
33+  buttonTheme:  ThemeData .light ().buttonTheme.copyWith (
34+  colorScheme:  ColorScheme .light (
35+  onError:  Color (0xffFF2D55 ),
36+  ),
37+  ),
3038 tabBarTheme:  tabBarTheme,
3139 );
3240
@@ -53,7 +61,7 @@ class AppThemeLight extends AppTheme with ILightTheme {
5361 secondary:  Colors .green,
5462 secondaryVariant:  colorSchemeLight.azure,
5563 surface:  Colors .blue, //xx 
56-  background:  Colors .white, 
64+  background:  Color ( 0xfff6f9fc ),  //xx 
5765 error:  Colors .red[900 ],
5866 onPrimary:  Colors .greenAccent,
5967 onSecondary:  Colors .black, //x 
0 commit comments