2024-03-18 14:40:29 +05:30
|
|
|
import 'package:flutter/material.dart';
|
2024-03-15 19:30:17 +05:30
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
|
|
2024-03-19 12:19:01 +05:30
|
|
|
Widget text20W400(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 20.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w400,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 12:19:01 +05:30
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-22 04:02:01 -07:00
|
|
|
Widget text20W400_center(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 20.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w400,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-22 04:02:01 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-18 14:40:29 +05:30
|
|
|
Widget text18W800(String text) {
|
2024-03-15 19:30:17 +05:30
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
2024-03-18 14:40:29 +05:30
|
|
|
fontSize: 18.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w800,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-18 14:40:29 +05:30
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-26 13:46:22 +05:30
|
|
|
Widget text18W600(String text, {TextAlign textAl = TextAlign.start}) {
|
2024-03-18 14:40:29 +05:30
|
|
|
return Text(
|
|
|
|
|
text,
|
2024-03-26 13:46:22 +05:30
|
|
|
textAlign: textAl,
|
2024-03-18 14:40:29 +05:30
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 18.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-18 14:40:29 +05:30
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-19 22:57:32 -07:00
|
|
|
Widget text18W500(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 18.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-26 03:24:36 -07:00
|
|
|
Widget text18W500manrope(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 18.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
|
fontFamily: 'Manrope'),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-22 17:21:40 +05:30
|
|
|
Widget text18W400(String text,
|
|
|
|
|
{TextAlign texAl = TextAlign.start, double heightV = 1.5}) {
|
2024-03-19 22:57:32 -07:00
|
|
|
return Text(
|
|
|
|
|
text,
|
2024-03-22 17:21:40 +05:30
|
|
|
textAlign: texAl,
|
2024-03-19 22:57:32 -07:00
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 18.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w400,
|
2024-03-22 17:21:40 +05:30
|
|
|
height: heightV,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-21 17:58:30 +05:30
|
|
|
Widget text24W500(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize: 24.sp,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-21 17:58:30 +05:30
|
|
|
maxLines: 2,
|
|
|
|
|
softWrap: true,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-22 17:21:40 +05:30
|
|
|
Widget text16W400(String text,
|
|
|
|
|
{Color clr = Colors.white, TextOverflow textOver = TextOverflow.clip}) {
|
2024-03-18 14:40:29 +05:30
|
|
|
return Text(
|
|
|
|
|
text,
|
2024-03-22 17:21:40 +05:30
|
|
|
overflow: textOver,
|
2024-03-18 14:40:29 +05:30
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 16.sp,
|
2024-03-22 17:21:40 +05:30
|
|
|
color: clr,
|
2024-03-15 19:30:17 +05:30
|
|
|
fontWeight: FontWeight.w400,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-18 14:40:29 +05:30
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-19 22:57:32 -07:00
|
|
|
Widget text16W400_1B1B1B(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 16.sp,
|
|
|
|
|
color: Color(0Xff1B1B1B),
|
|
|
|
|
fontWeight: FontWeight.w400,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-21 00:11:02 -07:00
|
|
|
Widget text12W500_B4B4B4(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 12.sp,
|
|
|
|
|
color: Color(0XffB4B4B4),
|
|
|
|
|
fontWeight: FontWeight.w500,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-21 00:11:02 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-08 17:15:26 +05:30
|
|
|
Widget text14W600_1B1B1B(String text, {Color? clr}) {
|
2024-03-21 00:11:02 -07:00
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 14.sp,
|
2024-05-08 17:15:26 +05:30
|
|
|
color: clr ?? const Color(0Xff1B1B1B),
|
2024-03-21 00:11:02 -07:00
|
|
|
fontWeight: FontWeight.w600,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-21 00:11:02 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-26 13:46:22 +05:30
|
|
|
Widget text16W600(String text, {Color clr = Colors.white}) {
|
2024-03-19 22:57:32 -07:00
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 16.sp,
|
2024-03-26 13:46:22 +05:30
|
|
|
color: clr,
|
2024-03-19 22:57:32 -07:00
|
|
|
fontWeight: FontWeight.w600,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-22 17:21:40 +05:30
|
|
|
Widget text16W500(String text, {Color clr = Colors.white}) {
|
2024-03-19 22:57:32 -07:00
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 16.sp,
|
2024-03-22 17:21:40 +05:30
|
|
|
color: clr,
|
2024-03-19 22:57:32 -07:00
|
|
|
fontWeight: FontWeight.w500,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Widget text15W600(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 15.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-21 00:11:02 -07:00
|
|
|
Widget text15W600_00FF19(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 15.sp,
|
|
|
|
|
color: Color(0xFF00FF19),
|
|
|
|
|
fontWeight: FontWeight.w600,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-21 00:11:02 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-19 22:57:32 -07:00
|
|
|
Widget text12W400(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 12.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w400,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
2024-03-22 17:21:40 +05:30
|
|
|
|
2024-03-21 00:11:02 -07:00
|
|
|
Widget text12W500(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 12.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-21 00:11:02 -07:00
|
|
|
);
|
|
|
|
|
}
|
2024-03-19 22:57:32 -07:00
|
|
|
|
|
|
|
|
Widget text8W400(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 8.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w400,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Widget text22W600(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 22.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-26 03:24:36 -07:00
|
|
|
Widget text22W600manrope(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 22.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
fontFamily: 'Manrope'),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-21 00:11:02 -07:00
|
|
|
Widget text25W600(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 25.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-21 00:11:02 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-19 22:57:32 -07:00
|
|
|
Widget text22W500(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 22.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-18 14:40:29 +05:30
|
|
|
Widget text16W700(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 16.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w700,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-18 14:40:29 +05:30
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Widget text14W300(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 14.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w300,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-15 19:30:17 +05:30
|
|
|
);
|
|
|
|
|
}
|
2024-03-19 22:57:32 -07:00
|
|
|
|
2024-03-21 17:58:30 +05:30
|
|
|
Widget text14W400(String text) {
|
|
|
|
|
return Text(
|
2024-03-21 00:11:02 -07:00
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 14.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w400,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-21 00:11:02 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-19 22:57:32 -07:00
|
|
|
Widget text14W500(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 14.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-29 11:54:08 +05:30
|
|
|
Widget text14W500Overflow(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 14.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
|
overflow: TextOverflow.ellipsis,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-29 11:54:08 +05:30
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-19 22:57:32 -07:00
|
|
|
Widget text16W400_DADADA(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 16.sp,
|
|
|
|
|
color: Color(0xFFDADADA),
|
|
|
|
|
fontWeight: FontWeight.w400,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Widget text14W400_979797(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 14.sp,
|
|
|
|
|
color: Color(0xFF979797),
|
|
|
|
|
fontWeight: FontWeight.w400,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Widget text12W400_979797(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 12.sp,
|
|
|
|
|
color: Color(0xFF979797),
|
|
|
|
|
fontWeight: FontWeight.w400,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Widget text14W400_00FF19(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 14.sp,
|
|
|
|
|
color: Color(0xFF00FF19),
|
|
|
|
|
fontWeight: FontWeight.w400,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Widget text14W500_black(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 14.sp,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-19 22:57:32 -07:00
|
|
|
);
|
|
|
|
|
}
|
2024-03-29 11:54:08 +05:30
|
|
|
|
|
|
|
|
Widget text10W300(String text) {
|
|
|
|
|
return Text(
|
|
|
|
|
text,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 10.sp,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w300,
|
2024-04-04 11:45:15 +05:30
|
|
|
fontFamily: 'hiragino'),
|
2024-03-29 11:54:08 +05:30
|
|
|
);
|
|
|
|
|
}
|