geti method
Implementation
TextSpan geti(String text,{double? sizeFont,List<TextSpan>? childern,FontWeight? fontweight,Color? colorText,Function()? onTap2}){
return TextSpan(
text: text,
recognizer: TapGestureRecognizer()..onTap = onTap2 != null ? onTap2 : (){},
style: TextStyle(
fontFamily: Fonts.poppins,
fontSize: sizeFont != null ? sizeFont : 12,
color: colorText != null ? colorText : Colors.black,
fontWeight: fontweight != null ? fontweight : FontWeight.normal
),
children: childern != null ? childern : null
);
}