title static method
TextStyle
title({
- Color color = const Color(0xFF000000),
- double fontSize = 16,
- FontWeight fontWeight = FontWeight.bold,
- String? fontFamily,
Creates a chart title style.
Implementation
static TextStyle title({
Color color = const Color(0xFF000000),
double fontSize = 16,
FontWeight fontWeight = FontWeight.bold,
String? fontFamily,
}) {
return TextStyle(
color: color,
fontSize: fontSize,
fontWeight: fontWeight,
fontFamily: fontFamily,
);
}