UiText constructor
Implementation
UiText({this.color, this.weight, this.alpha}) {
vvLargeText = GoogleFonts.montserrat(textStyle: TextStyle(color: Color(color ?? UiColors.black).withAlpha(alpha ?? 1000),fontSize: 60,overflow: TextOverflow.clip,decoration: TextDecoration.none,fontWeight: weight ?? FontWeight.w400));
vLargeText = GoogleFonts.montserrat(textStyle: TextStyle(color: Color(color ?? UiColors.black).withAlpha(alpha ?? 1000),fontSize: 35,overflow: TextOverflow.clip,decoration: TextDecoration.none,fontWeight: weight ?? FontWeight.w400));
largeText = GoogleFonts.montserrat(textStyle: TextStyle(color: Color(color ?? UiColors.black).withAlpha(alpha ?? 1000),fontSize: 30,overflow: TextOverflow.clip,decoration: TextDecoration.none,fontWeight: weight ?? FontWeight.w400));
mediumText = GoogleFonts.montserrat(textStyle: TextStyle(color: Color(color ?? UiColors.black).withAlpha(alpha ?? 1000),fontSize: 25,overflow: TextOverflow.clip,decoration: TextDecoration.none,fontWeight: weight ?? FontWeight.w400));
nText = GoogleFonts.montserrat(textStyle: TextStyle(color: Color(color ?? UiColors.black).withAlpha(alpha ?? 1000),fontSize: 20,overflow: TextOverflow.clip,decoration: TextDecoration.none,fontWeight: weight ?? FontWeight.w400));
nsText = GoogleFonts.montserrat(textStyle: TextStyle(color: Color(color ?? UiColors.black).withAlpha(alpha ?? 1000),fontSize: 18,overflow: TextOverflow.clip,decoration: TextDecoration.none,fontWeight: weight ?? FontWeight.w400));
smallText = GoogleFonts.montserrat(textStyle: TextStyle(
color: Color(color ?? UiColors.black).withAlpha(alpha ?? 1000),
fontSize: 15,
overflow: TextOverflow.clip,decoration: TextDecoration.none,fontWeight: weight ?? FontWeight.w400 ));
}