Files
Regroup/lib/Utils/texts.dart
2024-07-18 20:15:38 +05:30

746 lines
15 KiB
Dart

import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:regroup/Utils/colors.dart';
Widget text30BlackM(String text) {
return Text(
text,
style: TextStyle(
fontSize: 29.sp, color: AppColors.black, fontWeight: FontWeight.w500),
);
}
Widget text22400white(String text) {
return Text(
text,
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 22.sp,
color: AppColors.white,
fontWeight: FontWeight.w400,
fontFamily: 'Helvetica'),
);
}
Widget text22400FCFCFC(String text) {
return Text(
text,
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 22.sp,
color: Color(0xFFFCFCFC),
fontWeight: FontWeight.w400,
fontFamily: 'Helvetica'),
);
}
Widget text20400white(String text) {
return Text(
text,
style: TextStyle(
fontSize: 20.sp,
color: AppColors.white,
fontWeight: FontWeight.w400,
fontFamily: 'Helvetica'),
);
}
Widget text20400FCFCFC(String text) {
return Text(
text,
style: TextStyle(
fontSize: 20.sp,
color: Color(0xFFFCFCFC),
fontWeight: FontWeight.w400,
fontFamily: 'Helvetica'),
);
}
Widget text20700white(String text) {
return Text(
text,
style: TextStyle(
fontSize: 20.sp,
color: AppColors.white,
fontWeight: FontWeight.w700,
fontFamily: 'Helvetica'),
);
}
Widget text16400white(String text, {TextAlign? textAlign}) {
return Text(
text,
textAlign: textAlign,
style: TextStyle(
fontSize: 16.sp,
color: AppColors.white,
fontWeight: FontWeight.w400,
fontFamily: 'Helvetica'),
);
}
Widget text16400whiteblur(String text) {
return Text(
text,
// textAlign: TextAlign.center,
style: TextStyle(
fontSize: 16.sp,
color: AppColors.white.withOpacity(0.8),
fontWeight: FontWeight.w400,
fontFamily: 'Helvetica'),
);
}
Widget text25700white(String text) {
return Text(
text,
// textAlign: TextAlign.center,
style: TextStyle(
fontSize: 25.sp,
color: AppColors.white,
fontWeight: FontWeight.w700,
fontFamily: 'Helvetica'),
);
}
Widget text25700FCFCFC(String text) {
return Text(
text,
// textAlign: TextAlign.center,
style: TextStyle(
fontSize: 25.sp,
color: Color(0xFFFCFCFC),
fontWeight: FontWeight.w700,
fontFamily: 'Helvetica'),
);
}
Widget text12400white(String text) {
return Text(
text,
style: TextStyle(
fontSize: 12.sp,
color: AppColors.white,
fontWeight: FontWeight.w400,
fontFamily: 'Helvetica'),
);
}
Widget text12700white(String text) {
return Text(
text,
style: TextStyle(
fontSize: 12.sp,
color: AppColors.white,
fontWeight: FontWeight.w700,
fontFamily: 'Helvetica'),
);
}
Widget text12400whiteblur(String text) {
return Text(
text,
style: TextStyle(
fontSize: 12.sp,
color: AppColors.white.withOpacity(0.8),
fontWeight: FontWeight.w400,
fontFamily: 'Helvetica'),
);
}
Widget text14400white(String text) {
return Text(
text,
// textAlign: TextAlign.center,
style: TextStyle(
fontSize: 14.sp,
color: AppColors.white,
fontWeight: FontWeight.w400,
fontFamily: 'Helvetica'),
);
}
Widget text144005DFD63(String text) {
return Text(
text,
// textAlign: TextAlign.center,
style: TextStyle(
fontSize: 14.sp,
color: Color(0xFF5DFD63),
fontWeight: FontWeight.w400,
fontFamily: 'Helvetica'),
);
}
Widget text14400whiteblur(String text, {TextAlign? textAlign}) {
return Text(
text,
textAlign: textAlign,
style: TextStyle(
fontSize: 14.sp,
color: AppColors.white.withOpacity(0.8),
fontWeight: FontWeight.w400,
fontFamily: 'Helvetica'),
);
}
Widget text14700white(String text) {
return Text(
text,
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 14.sp,
color: AppColors.white,
fontWeight: FontWeight.w700,
fontFamily: 'Helvetica'),
);
}
Widget text17400white(String text) {
return Text(
text,
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 17.sp,
color: AppColors.white,
fontWeight: FontWeight.w400,
fontFamily: 'Helvetica'),
);
}
Widget text20Black(String text) {
return Text(
text,
style: TextStyle(
fontSize: 20.sp,
color: AppColors.black,
// fontWeight: FontWeight.w500
),
);
}
Widget text20Blackw600(String text) {
return Text(
text,
style: TextStyle(
fontSize: 20.sp, color: AppColors.black, fontWeight: FontWeight.w600),
);
}
Widget textA4856_20500(String text) {
return Text(
text,
style: TextStyle(
fontWeight: FontWeight.w500,
fontSize: 20.sp,
color: Color(0XFF3A4856),
),
);
}
Widget text272424_18(String text) {
return Text(
text,
style: TextStyle(
fontSize: 18.sp,
color: Color(0XFF272424),
),
);
}
Widget text14Black(String text) {
return Text(
text,
style: TextStyle(
fontSize: 14.sp,
color: AppColors.black,
),
);
}
Widget text16White(String text, {TextAlign? textAlign}) {
return Text(
text,
textAlign: textAlign,
style: TextStyle(
fontSize: 16.sp,
color: AppColors.white,
),
);
}
Widget text16400Black(String text, {TextAlign? textAlign}) {
return Text(
text,
textAlign: textAlign,
style: TextStyle(
fontSize: 16.sp,
fontWeight: FontWeight.w400,
color: AppColors.black,
),
);
}
Widget text16w400white(String text, {TextAlign? textAlign}) {
return Text(
text,
textAlign: textAlign,
style: TextStyle(
fontSize: 16.sp,
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400,
color: AppColors.white,
),
);
}
Widget text16w700white(String text, {TextAlign? textAlign}) {
return Text(
text,
textAlign: textAlign,
style: TextStyle(
fontSize: 16.sp,
fontFamily: 'Helvetica',
fontWeight: FontWeight.w700,
color: AppColors.white,
),
);
}
Widget text18w700white(String text, {TextAlign? textAlign}) {
return Text(
text,
textAlign: textAlign,
style: TextStyle(
fontSize: 18.sp,
fontFamily: 'Helvetica',
fontWeight: FontWeight.w700,
color: AppColors.white,
),
);
}
Widget text18w400white(String text, {TextAlign? textAlign}) {
return Text(
text,
textAlign: textAlign,
style: TextStyle(
fontSize: 18.sp,
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400,
color: AppColors.white,
),
);
}
Widget text14w400white(String text, {TextAlign? textAlign}) {
return Text(
text,
textAlign: textAlign,
style: TextStyle(
fontSize: 14.sp,
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400,
color: AppColors.white,
),
);
}
Widget text20White(String text, {TextAlign? textAlign}) {
return Text(
text,
textAlign: textAlign,
style: TextStyle(
fontSize: 20.sp,
color: AppColors.white,
),
);
}
Widget text14White(String text, {TextAlign? textAlign}) {
return Text(
text,
textAlign: textAlign,
style: TextStyle(
fontSize: 14.sp,
color: AppColors.white,
),
);
}
Widget contentText(String content) {
return Text(
content,
style: TextStyle(fontSize: 18.sp, color: const Color(0xff272424)),
);
}
Widget txt20Black(txt) {
return Text(
txt,
style: TextStyle(fontSize: 20.sp, color: const Color(0xff000000)),
);
}
Widget text16w400_FCFCFC(String text) {
return Text(
text,
style: TextStyle(
fontSize: 16.sp,
color: Color(0xFFFCFCFC),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text16w400_FF0000(String text) {
return Text(
text,
style: TextStyle(
fontSize: 16.sp,
color: Color(0xFFFF0000),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text10400white(String text) {
return Text(
text,
style: TextStyle(
fontSize: 10.sp,
color: Colors.white,
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text9400white(String text) {
return Text(
text,
style: TextStyle(
fontSize: 9.sp,
color: Colors.white,
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text6400white(String text) {
return Text(
text,
style: TextStyle(
fontSize: 6.sp,
color: Colors.white,
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text10400whiteblur(String text) {
return Text(
text,
style: TextStyle(
fontSize: 10.sp,
color: Colors.white.withOpacity(0.8),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text16w700_FCFCFC(String text) {
return Text(
text,
style: TextStyle(
fontSize: 16.sp,
color: Color(0xFFFCFCFC),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w700),
);
}
Widget text16w700_D90B2E(String text, {TextDecoration? decoration}) {
return Text(
text,
style: TextStyle(
decoration: decoration,
decorationColor: Color(0xFFD90B2E),
fontSize: 16.sp,
color: Color(0xFFD90B2E),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w700),
);
}
Widget text16w700_FCFCFCblur(String text) {
return Text(
text,
style: TextStyle(
fontSize: 16.sp,
color: Color(0xFFFCFCFC).withOpacity(0.8),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w700),
);
}
Widget text16w700_FCFCFCline(String text) {
return Text(
text,
style: TextStyle(
decoration: TextDecoration.underline,
decorationColor: Color(0xFFFCFCFC),
fontSize: 16.sp,
color: Color(0xFFFCFCFC),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w700),
);
}
Widget text16w700_FCFCFCUnderline(String text) {
return Text(
text,
style: TextStyle(
decoration: TextDecoration.underline,
decorationColor: Color(0xFFFCFCFC),
fontSize: 16.sp,
color: Color(0xFFFCFCFC),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w700),
);
}
Widget text16w400_white(String text) {
return Text(
text,
style: TextStyle(
fontSize: 16.sp,
color: Colors.white,
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text16w400_FCFCFCblur(String text) {
return Text(
text,
style: TextStyle(
fontSize: 16.sp,
color: Color(0xFFFCFCFC).withOpacity(0.8),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text12w400_FCFCFC(String text) {
return Text(
text,
style: TextStyle(
fontSize: 12.sp,
color: Color(0xFFFCFCFC),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text12w400_8E8E8E(String text) {
return Text(
text,
style: TextStyle(
fontSize: 12.sp,
color: Color(0xFF8E8E8E),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text12w700_FCFCFC(String text) {
return Text(
text,
style: TextStyle(
fontSize: 12.sp,
color: Color(0xFFFCFCFC),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w700),
);
}
Widget text20w700_FCFCFC(String text) {
return Text(
text,
style: TextStyle(
fontSize: 20.sp,
color: Color(0xFFFCFCFC),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w700),
);
}
Widget text12w400_FCFCFC_blur(String text) {
return Text(
text,
style: TextStyle(
fontSize: 12.sp,
color: Color(0xFFFCFCFC).withOpacity(0.8),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text10w400_FCFCFC_blur(String text) {
return Text(
text,
style: TextStyle(
fontSize: 10.sp,
color: Color(0xFFFCFCFC).withOpacity(0.8),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text11w400_FCFCFC(String text) {
return Text(
text,
style: TextStyle(
fontSize: 11.sp,
color: Color(0xFFFCFCFC),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text11w400_F91D42(String text) {
return Text(
text,
style: TextStyle(
fontSize: 11.sp,
color: Color(0xFFF91D42),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text11w400white(String text) {
return Text(
text,
style: TextStyle(
fontSize: 11.sp,
color: Colors.white,
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text18w400_FCFCFC(String text, {TextAlign? textAlign}) {
return Text(
text,
textAlign: textAlign,
style: TextStyle(
fontSize: 18.sp,
color: Color(0xFFFCFCFC),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text18w500_FCFCFC(String text) {
return Text(
text,
style: TextStyle(
fontSize: 18.sp,
color: Color(0xFFFCFCFC),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w500),
);
}
Widget text18w500Center_FCFCFC(String text) {
return Text(
text,
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 18.sp,
color: Color(0xFFFCFCFC),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w500),
);
}
Widget text18w700_FCFCFC(String text) {
return Text(
text,
style: TextStyle(
fontSize: 18.sp,
color: Color(0xFFFCFCFC),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w700),
);
}
Widget text14w400_FCFCFC(String text, {TextAlign? textAlign}) {
return Text(
text,
textAlign: textAlign,
style: TextStyle(
fontSize: 14.sp,
color: Color(0xFFFCFCFC),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text14w400_FCFCFCblur(String text) {
return Text(
text,
style: TextStyle(
fontSize: 14.sp,
color: Color(0xFFFCFCFC).withOpacity(0.8),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text8w400_8A8A8A(String text) {
return Text(
text,
style: TextStyle(
fontSize: 8.sp,
color: Color(0xFF8A8A8A),
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text10w400_whiteCenter(String text) {
return Text(
text,
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 10.sp,
color: Colors.white,
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text8w400_white(String text) {
return Text(
text,
style: TextStyle(
fontSize: 8.sp,
color: Colors.white,
fontFamily: 'Helvetica',
fontWeight: FontWeight.w400),
);
}
Widget text8w700_white(String text) {
return Text(
text,
style: TextStyle(
decoration: TextDecoration.underline,
decorationColor: Colors.white,
fontSize: 8.sp,
color: Colors.white,
fontFamily: 'Helvetica',
fontWeight: FontWeight.w700),
);
}