label static method
TextStyle
label({
- Color color = const Color(0xFF333333),
- double fontSize = 12,
- FontWeight fontWeight = FontWeight.normal,
- String? fontFamily,
Creates a default chart label style.
Implementation
static TextStyle label({
Color color = const Color(0xFF333333),
double fontSize = 12,
FontWeight fontWeight = FontWeight.normal,
String? fontFamily,
}) {
return TextStyle(
color: color,
fontSize: fontSize,
fontWeight: fontWeight,
fontFamily: fontFamily,
);
}