Files
Traders_Circuit/lib/Utils/text.dart
Rajshinde046 03d5d3dc1a secure access
2024-03-19 12:19:01 +05:30

80 lines
1.5 KiB
Dart

import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
Widget text20W400(String text) {
return Text(
text,
style: TextStyle(
fontSize: 20.sp,
color: Colors.white,
fontWeight: FontWeight.w400,
fontFamily: 'manrope'),
);
}
Widget text18W800(String text) {
return Text(
text,
style: TextStyle(
fontSize: 18.sp,
color: Colors.white,
fontWeight: FontWeight.w800,
fontFamily: 'manrope'),
);
}
Widget text18W600(String text) {
return Text(
text,
style: TextStyle(
fontSize: 18.sp,
color: Colors.white,
fontWeight: FontWeight.w600,
fontFamily: 'manrope'),
);
}
Widget text18W400(String text) {
return Text(
text,
style: TextStyle(
fontSize: 18.sp,
color: Colors.white,
fontWeight: FontWeight.w400,
fontFamily: 'manrope'),
);
}
Widget text16W400(String text) {
return Text(
text,
style: TextStyle(
fontSize: 16.sp,
color: Colors.white,
fontWeight: FontWeight.w400,
fontFamily: 'manrope'),
);
}
Widget text16W700(String text) {
return Text(
text,
style: TextStyle(
fontSize: 16.sp,
color: Colors.white,
fontWeight: FontWeight.w700,
fontFamily: 'manrope'),
);
}
Widget text14W300(String text) {
return Text(
text,
style: TextStyle(
fontSize: 14.sp,
color: Colors.white,
fontWeight: FontWeight.w300,
fontFamily: 'manrope'),
);
}