defaultTextStyle function
TextStyle
defaultTextStyle({
- double fontSize = 15,
- FontWeight fontWeight = FontWeight.w400,
- String? fontFamily,
- TextDecoration decoration = TextDecoration.none,
- Color color = Colors.black,
- FontStyle fontStyle = FontStyle.normal,
Implementation
TextStyle defaultTextStyle({
double fontSize = 15,
FontWeight fontWeight = FontWeight.w400,
String ?fontFamily,
TextDecoration decoration = TextDecoration.none,
Color color = Colors.black,
FontStyle fontStyle = FontStyle.normal,
}){
return TextStyle(
fontSize: fontSize,
fontWeight: fontWeight,
fontFamily: fontFamily,
decoration: decoration,
color: color,
fontStyle: fontStyle,
);
}