import 'package:flutter/material.dart'; import 'dart:ui'; import 'package:flutter/cupertino.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 TextStyle labelStyle = TextStyle(fontSize: 13, color: Colors.grey, fontWeight: FontWeight.w500); const TextStyle welcomeLabelStyle = TextStyle(fontSize: 23, color: primaryColor, fontWeight: FontWeight.w500); const TextStyle welcomeSubLabelStyle = TextStyle(fontSize: 18, color: primaryColor, fontWeight: FontWeight.w500); const TextStyle subMenuStyle = TextStyle(fontSize: 14, color: Colors.white, fontWeight: FontWeight.w500); const TextStyle siginButtonStyle = TextStyle(fontSize: 18, color: Colors.white, fontWeight: FontWeight.w800); const TextStyle labelStyleMM = TextStyle( fontSize: 13, color: Colors.grey, fontWeight: FontWeight.w500, fontFamily: "MyanmarUnicode"); TextStyle newLabelStyle( {Color color, double fontSize, FontWeight fontWeight, bool underline = false}) { return TextStyle( fontSize: fontSize == null ? 13 : fontSize, color: color == null ? secondaryColor : color, fontWeight: fontWeight == null ? FontWeight.w500 : fontWeight, decoration: underline ? TextDecoration.underline : TextDecoration.none); } TextStyle newLabelStyleMM( {Color color, double fontSize, FontWeight fontWeight, bool underline = false}) { return TextStyle( fontSize: fontSize == null ? 13 : fontSize, color: color == null ? secondaryColor : color, fontWeight: fontWeight == null ? FontWeight.w500 : fontWeight, decoration: underline ? TextDecoration.underline : TextDecoration.none, fontFamily: "MyanmarUnicode"); } const TextStyle photoLabelStyle = TextStyle(color: Colors.black, fontSize: 13.0); const TextStyle photoLabelStyleMM = TextStyle( color: Colors.black, fontSize: 13.0, fontFamily: "MyanmarUnicode"); const TextStyle textStyle = TextStyle(fontSize: 18, 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 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, ); }