feat:login page done
This commit is contained in:
@@ -24,5 +24,6 @@ abstract class AppColors {
|
||||
static const Color c05A357 = Color(0xFF05A357);
|
||||
static const Color cE8E8E8 = Color(0xFFE8E8E8);
|
||||
static const Color c660000 = Color(0x66000000);
|
||||
static const Color c6A6E7F = Color(0xFF6A6E7F);
|
||||
|
||||
}
|
||||
|
||||
@@ -3,6 +3,18 @@ import '../../food_delivery_client.dart';
|
||||
abstract class AppTheme {
|
||||
static ThemeData get lightTheme => ThemeData.light().copyWith(
|
||||
brightness: Brightness.light,
|
||||
|
||||
// colorScheme: ColorScheme(
|
||||
// brightness: Brightness.light,
|
||||
// primary: AppColors.cFFFFFF,
|
||||
// onPrimary:AppColors.cFFFFFF,
|
||||
// secondary: AppColors.cFFFFFF,
|
||||
// onSecondary: AppColors.cFFFFFF,
|
||||
// error:AppColors.cRed,
|
||||
// onError: AppColors.cRed,
|
||||
// surface: AppColors.cFFFFFF,
|
||||
// onSurface: AppColors.cFFFFFF,
|
||||
// ),
|
||||
appBarTheme: AppBarTheme(
|
||||
elevation: 0,
|
||||
backgroundColor: AppColors.cFFFFFF,
|
||||
@@ -10,14 +22,28 @@ abstract class AppTheme {
|
||||
surfaceTintColor: AppColors.cTransparent,
|
||||
),
|
||||
scaffoldBackgroundColor: AppColors.cFFFFFF,
|
||||
|
||||
progressIndicatorTheme: ProgressIndicatorThemeData(
|
||||
color: AppColors.cFFFFFF,
|
||||
circularTrackColor: AppColors.cFFFFFF,
|
||||
linearTrackColor: AppColors.cFFFFFF,
|
||||
borderRadius: BorderRadiusGeometry.circular(30),
|
||||
),
|
||||
|
||||
pageTransitionsTheme: PageTransitionsTheme(
|
||||
builders: {
|
||||
TargetPlatform.android: CupertinoPageTransitionsBuilder(),
|
||||
TargetPlatform.iOS: CupertinoPageTransitionsBuilder(),
|
||||
},
|
||||
),
|
||||
bottomNavigationBarTheme: BottomNavigationBarThemeData(
|
||||
elevation:0,
|
||||
elevation: 0,
|
||||
showSelectedLabels: true,
|
||||
showUnselectedLabels: true,
|
||||
backgroundColor: AppColors.cFFFFFF,
|
||||
type: BottomNavigationBarType.fixed,
|
||||
unselectedItemColor: AppColors.cB5B5B5,
|
||||
selectedItemColor:AppColors.c000000,
|
||||
selectedItemColor: AppColors.c000000,
|
||||
selectedLabelStyle: AppTextStyles.size10Regular.copyWith(
|
||||
color: Colors.red,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user