2020-05-29 07:45:27 +06:30
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
2020-05-29 15:53:37 +06:30
|
|
|
const primaryColor = const Color(0xff272262);
|
|
|
|
|
const secondaryColor = const Color(0xffff4400);
|
2020-05-31 15:00:11 +06:30
|
|
|
const thirdColor = const Color(0xf0ff4444);
|
2020-05-29 07:45:27 +06:30
|
|
|
const nextColor = const Color(0xFFfa833d);
|
|
|
|
|
const buttonColor = const Color(0xFFFFFFFF);
|
|
|
|
|
const buttonBkColor = const Color(0xFF268944);
|
2020-05-29 16:14:17 +06:30
|
|
|
const labelColor = const Color(0xFF757575);
|
2024-01-25 17:40:35 +06:30
|
|
|
var dividerColor = Colors.grey.shade400;
|
2024-02-19 17:06:36 +06:30
|
|
|
const dangerColor = const Color(0xffff0606);
|
2025-01-14 17:10:10 +06:30
|
|
|
const hintTextColor = Color.fromARGB(255, 187, 187, 187);
|
2025-03-06 17:59:15 +06:30
|
|
|
const linkColor= Color(0xff0000EE);
|
2020-05-29 07:45:27 +06:30
|
|
|
|
|
|
|
|
const TextStyle labelStyle =
|
2020-12-03 08:26:58 +06:30
|
|
|
TextStyle(fontSize: 20, color: labelColor, fontWeight: FontWeight.w500);
|
2020-09-07 16:05:28 +06:30
|
|
|
const TextStyle labelStyleMM = TextStyle(
|
2020-09-10 16:04:09 +06:30
|
|
|
fontSize: 20,
|
2020-12-03 08:26:58 +06:30
|
|
|
color: labelColor,
|
2020-09-07 16:05:28 +06:30
|
|
|
fontWeight: FontWeight.w500,
|
2020-09-11 16:14:36 +06:30
|
|
|
height: 1,
|
|
|
|
|
fontFamily: "Myanmar3");
|
2020-09-07 16:05:28 +06:30
|
|
|
const TextStyle subMenuStyle =
|
|
|
|
|
TextStyle(fontSize: 14, color: Colors.white, fontWeight: FontWeight.w500);
|
2021-09-10 14:27:38 +06:30
|
|
|
const TextStyle subMenuStyleMM = TextStyle(
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
2020-09-11 16:14:36 +06:30
|
|
|
fontFamily: "Myanmar3");
|
2020-05-31 15:00:11 +06:30
|
|
|
|
|
|
|
|
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 =
|
2020-05-31 16:14:56 +06:30
|
|
|
TextStyle(fontSize: 16, color: Colors.white, fontWeight: FontWeight.w500);
|
2020-05-31 15:00:11 +06:30
|
|
|
|
2020-05-29 07:45:27 +06:30
|
|
|
TextStyle newLabelStyle(
|
2021-09-10 14:27:38 +06:30
|
|
|
{Color? color,
|
|
|
|
|
double? fontSize,
|
|
|
|
|
FontWeight? fontWeight,
|
2020-05-29 07:45:27 +06:30
|
|
|
bool underline = false}) {
|
|
|
|
|
return TextStyle(
|
2020-06-01 08:12:04 +06:30
|
|
|
fontSize: fontSize == null ? 14 : fontSize,
|
2020-05-29 16:14:17 +06:30
|
|
|
color: color == null ? secondaryColor : color,
|
2020-05-29 07:45:27 +06:30
|
|
|
fontWeight: fontWeight == null ? FontWeight.w500 : fontWeight,
|
|
|
|
|
decoration: underline ? TextDecoration.underline : TextDecoration.none);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TextStyle newLabelStyleMM(
|
2021-09-10 14:27:38 +06:30
|
|
|
{Color? color,
|
|
|
|
|
double? fontSize,
|
|
|
|
|
FontWeight? fontWeight,
|
2020-05-29 07:45:27 +06:30
|
|
|
bool underline = false}) {
|
|
|
|
|
return TextStyle(
|
|
|
|
|
fontSize: fontSize == null ? 13 : fontSize,
|
2020-05-29 16:14:17 +06:30
|
|
|
color: color == null ? secondaryColor : color,
|
2020-05-29 07:45:27 +06:30
|
|
|
fontWeight: fontWeight == null ? FontWeight.w500 : fontWeight,
|
|
|
|
|
decoration: underline ? TextDecoration.underline : TextDecoration.none,
|
2020-09-11 16:14:36 +06:30
|
|
|
fontFamily: "Myanmar3");
|
2020-05-29 07:45:27 +06:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const TextStyle photoLabelStyle =
|
|
|
|
|
TextStyle(color: Colors.black, fontSize: 13.0);
|
2021-09-10 14:27:38 +06:30
|
|
|
const TextStyle photoLabelStyleMM =
|
|
|
|
|
TextStyle(color: Colors.black, fontSize: 13.0, fontFamily: "Myanmar3");
|
2020-05-29 07:45:27 +06:30
|
|
|
const TextStyle textStyle =
|
2020-06-01 08:12:04 +06:30
|
|
|
TextStyle(fontSize: 14, color: Colors.black87, fontWeight: FontWeight.w500);
|
2020-05-29 07:45:27 +06:30
|
|
|
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 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,
|
|
|
|
|
);
|
|
|
|
|
}
|