import 'package:flutter/material.dart'; import 'package:quir_kart/View/utils/constant.dart'; class ConstColor { static const Color bgColor = Colors.white; //Color(0xFFf3f3f3); static const Color black = Colors.black; static const Color blackTrans = Color.fromARGB(148, 0, 0, 0); static const Color white = Colors.white; // static const Color mainBg = Color.fromARGB(255, 243, 183, 32); static const Color mainBg = Color(0xFFcb638b); // Color(0xFF865f69); //Color(0xFF0c2c0d); //btnColor; static const Color mainBgLight = Color.fromARGB(255, 255, 188, 214); //Color(0xFF0c2c0d); //btnColor; static const Color secndBg = Color.fromRGBO(100, 71, 76, 1); //Color(0xFF006b8d); //Color(0xFF88b645); static const Color secndBgLight = Color.fromARGB(255, 2, 169, 219); //Color(0xFF88b645); static const Color selectBg = Color.fromARGB(255, 188, 223, 253); static const Color grey = Color.fromARGB(255, 227, 227, 227); static const Color grey2 = Color.fromARGB(255, 111, 111, 111); static const Color lightGrey = Color.fromARGB(240, 243, 242, 242); static const Color r = Color.fromARGB(255, 230, 2, 32); static const Color g = Color.fromARGB(255, 1, 189, 23); static const Color amber = Color.fromARGB(255, 255, 192, 3); static const Color blue = Color.fromARGB(255, 5, 123, 219); static const Color orange = Color.fromARGB(255, 230, 93, 2); } import 'package:flutter/material.dart'; import 'package:quir_kart/View/utils/color.dart'; class CustomTextstyle { // static const boldText = TextStyle( // fontSize: 14, color: ConstColor.black, fontWeight: FontWeight.bold); // static const boldTextL = TextStyle( // fontSize: 16, color: ConstColor.black, fontWeight: FontWeight.bold); // static const boldTextWhite = TextStyle( // fontSize: 14, color: ConstColor.bgColor, fontWeight: FontWeight.bold); // static const boldTextWhiteM = TextStyle( // fontSize: 16, color: ConstColor.bgColor, fontWeight: FontWeight.bold); // static const hintStyle = TextStyle( // fontSize: 15, // color: Colors.grey, // ); // static const hintStyle1 = TextStyle( // fontSize: 14, // color: Color.fromARGB(255, 110, 110, 110), // ); // static const commTitle = TextStyle( // fontSize: 15, color: ConstColor.black, fontWeight: FontWeight.bold); // static const customBlackTextStyle(16) = TextStyle( // fontSize: 16, color: ConstColor.black, fontWeight: FontWeight.bold); // static const customWhiteTextStyle13) = TextStyle( // fontSize: 13, color: ConstColor.black, fontWeight: FontWeight.bold); static TextStyle customHintTextStyle(double fontSize) { return TextStyle( fontFamily: 'DMSans', fontSize: fontSize, color: Colors.grey, ); } static TextStyle customHintTextStyle1(double fontSize) { return TextStyle( fontFamily: 'DMSans', fontSize: fontSize, color: Color.fromARGB(255, 110, 110, 110), ); } static TextStyle customWhiteTextStyle(double fontSize) { return TextStyle( fontFamily: 'DMSans', fontSize: fontSize, color: ConstColor.bgColor, fontWeight: FontWeight.w700); } static TextStyle customBlackTextStyle(double fontSize) { return TextStyle( fontFamily: 'DMSans', fontSize: fontSize, color: ConstColor.black, fontWeight: FontWeight.w700); } static TextStyle customScndTextStyle(double fontSize) { return TextStyle( fontFamily: 'DMSans', fontSize: fontSize, color: ConstColor.secndBg, fontWeight: FontWeight.w700); } static TextStyle customCrossTextStyle(double fontSize) { return TextStyle( fontFamily: 'DMSans', fontSize: fontSize, color: ConstColor.grey2, fontWeight: FontWeight.w700, decoration: TextDecoration.lineThrough, decorationColor: ConstColor.black, decorationThickness: 3, decorationStyle: TextDecorationStyle.solid, ); } static TextStyle customColorTextStyle(double fontSize, Color color) { return TextStyle( fontSize: fontSize, color: color, fontWeight: FontWeight.w700, fontFamily: 'DMSans', ); } static TextStyle customUnbColorTextStyle(double fontSize, Color color) { return TextStyle( fontSize: fontSize, color: color, fontFamily: 'DMSans', ); } static TextStyle customUnbBlackTextStyle(double fontSize) { return TextStyle( fontFamily: 'DMSans', fontSize: fontSize, color: ConstColor.black, ); } static TextStyle customUnbWhiteTextStyle(double fontSize) { return TextStyle( fontFamily: 'DMSans', fontSize: fontSize, color: ConstColor.white, ); } } this my utils i need flutter ui
Sign in to leave a comment
Architecture diagrams will be automatically generated when the Project Manager creates tasks for your project.
No completed page designs yet.
Completed design pages will appear here when they are ready to preview.
No user flows yet.
The User Flow Agent will generate per-persona navigation diagrams after SRD updates.
No completed page designs yet.
Completed design pages will appear here when they are ready to preview.
No user flows yet.
The User Flow Agent will generate per-persona navigation diagrams after SRD updates.
No comments yet. Be the first!