myBaseFont function
TextStyle
myBaseFont({
- Color color = Colors.white,
- required FontWeight fontWeight,
- required double fontSize,
Implementation
TextStyle myBaseFont({
Color color = Colors.white,
required FontWeight fontWeight,
required double fontSize,
}) {
return TextStyle(
color: color,
fontWeight: fontWeight,
fontSize: fontSize,
);
}