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