title static method

TextStyle title({
  1. Color color = const Color(0xFF000000),
  2. double fontSize = 16,
  3. FontWeight fontWeight = FontWeight.bold,
  4. 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,
  );
}