update ui
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
const primaryColor = const Color(0xff272262);
|
||||
const secondaryColor = const Color(0xffff4400);
|
||||
const thirdColor = const Color(0xf0ff4444);
|
||||
const nextColor = const Color(0xFFfa833d);
|
||||
const buttonColor = const Color(0xFFFFFFFF);
|
||||
const buttonBkColor = const Color(0xFF268944);
|
||||
const labelColor = const Color(0xFF757575);
|
||||
const primaryColor = Color(0xff272262);
|
||||
const secondaryColor = Color(0xffff4400);
|
||||
const thirdColor = Color(0xf0ff4444);
|
||||
const nextColor = Color(0xFFfa833d);
|
||||
const buttonColor = Color(0xFFFFFFFF);
|
||||
const buttonBkColor = Color(0xFF268944);
|
||||
const labelColor = Color(0xFF757575);
|
||||
var dividerColor = Colors.grey.shade400;
|
||||
const dangerColor = const Color(0xffff0606);
|
||||
const dangerColor = Color(0xffff0606);
|
||||
const hintTextColor = Color.fromARGB(255, 187, 187, 187);
|
||||
const linkColor= Color(0xff0000EE);
|
||||
const linkColor = Color(0xff0000EE);
|
||||
const oddColor = Color(0xffECF1F7);
|
||||
|
||||
const TextStyle labelStyle =
|
||||
@@ -21,16 +21,7 @@ const TextStyle labelStyleMM = TextStyle(
|
||||
fontWeight: FontWeight.w500,
|
||||
height: 1,
|
||||
fontFamily: "Myanmar3");
|
||||
const TextStyle subMenuStyle =
|
||||
TextStyle(fontSize: 14, color: Colors.white, fontWeight: FontWeight.w500);
|
||||
const TextStyle subMenuStyleMM = TextStyle(
|
||||
fontSize: 14,
|
||||
color: Colors.white,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontFamily: "Myanmar3");
|
||||
|
||||
const TextStyle welcomeLabelStyle =
|
||||
TextStyle(fontSize: 23, color: primaryColor, fontWeight: FontWeight.w500);
|
||||
const TextStyle welcomeSubLabelStyle =
|
||||
TextStyle(fontSize: 18, color: primaryColor, fontWeight: FontWeight.w500);
|
||||
const TextStyle siginButtonStyle =
|
||||
@@ -42,9 +33,9 @@ TextStyle newLabelStyle(
|
||||
FontWeight? fontWeight,
|
||||
bool underline = false}) {
|
||||
return TextStyle(
|
||||
fontSize: fontSize == null ? 14 : fontSize,
|
||||
color: color == null ? secondaryColor : color,
|
||||
fontWeight: fontWeight == null ? FontWeight.w500 : fontWeight,
|
||||
fontSize: fontSize ?? 14,
|
||||
color: color ?? secondaryColor,
|
||||
fontWeight: fontWeight ?? FontWeight.w500,
|
||||
decoration: underline ? TextDecoration.underline : TextDecoration.none);
|
||||
}
|
||||
|
||||
@@ -54,66 +45,14 @@ TextStyle newLabelStyleMM(
|
||||
FontWeight? fontWeight,
|
||||
bool underline = false}) {
|
||||
return TextStyle(
|
||||
fontSize: fontSize == null ? 13 : fontSize,
|
||||
color: color == null ? secondaryColor : color,
|
||||
fontWeight: fontWeight == null ? FontWeight.w500 : fontWeight,
|
||||
fontSize: fontSize ?? 13,
|
||||
color: color ?? secondaryColor,
|
||||
fontWeight: fontWeight ?? FontWeight.w500,
|
||||
decoration: underline ? TextDecoration.underline : TextDecoration.none,
|
||||
fontFamily: "Myanmar3");
|
||||
}
|
||||
|
||||
const TextStyle photoLabelStyle =
|
||||
TextStyle(color: Colors.black, fontSize: 13.0);
|
||||
const TextStyle photoLabelStyleMM =
|
||||
TextStyle(color: Colors.black, fontSize: 13.0, fontFamily: "Myanmar3");
|
||||
const TextStyle textStyle =
|
||||
TextStyle(fontSize: 14, color: Colors.black87, fontWeight: FontWeight.w500);
|
||||
const TextStyle textStyleOdd = TextStyle(
|
||||
fontSize: 15, color: Colors.blueAccent, fontWeight: FontWeight.w500);
|
||||
const TextStyle textStrikeStyle = TextStyle(
|
||||
fontSize: 15,
|
||||
color: Colors.black87,
|
||||
fontWeight: FontWeight.w500,
|
||||
decoration: TextDecoration.lineThrough,
|
||||
);
|
||||
const TextStyle textHighlightRedStyle = TextStyle(
|
||||
fontSize: 18,
|
||||
color: Colors.white,
|
||||
fontWeight: FontWeight.w500,
|
||||
backgroundColor: Colors.red,
|
||||
);
|
||||
const TextStyle textHighlightGreenStyle = TextStyle(
|
||||
fontSize: 18,
|
||||
color: Colors.white,
|
||||
fontWeight: FontWeight.w500,
|
||||
backgroundColor: Colors.green,
|
||||
);
|
||||
const TextStyle textHighlightBlueStyle = TextStyle(
|
||||
fontSize: 18,
|
||||
color: Colors.white,
|
||||
fontWeight: FontWeight.w500,
|
||||
backgroundColor: Colors.blue,
|
||||
);
|
||||
const TextStyle textStyle = TextStyle(fontSize: 14, color: Colors.black);
|
||||
|
||||
const TextStyle subTitleStyle =
|
||||
TextStyle(fontSize: 12, color: Colors.black45, fontWeight: FontWeight.w500);
|
||||
|
||||
final BoxDecoration tableRowOdd = BoxDecoration(
|
||||
color: Color(0x1F000000),
|
||||
);
|
||||
final BoxDecoration tableRowEven = BoxDecoration(
|
||||
color: Colors.white54,
|
||||
);
|
||||
|
||||
class LoginColors {
|
||||
const LoginColors();
|
||||
|
||||
static const Color loginGradientStart = const Color(0xfff00a21);
|
||||
static const Color loginGradientEnd = const Color(0xfff00a21);
|
||||
|
||||
static const primaryGradient = const LinearGradient(
|
||||
colors: const [loginGradientStart, loginGradientEnd],
|
||||
stops: const [0.0, 1.0],
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user