legend static method

TextStyle legend({
  1. Color color = const Color(0xFF333333),
  2. double fontSize = 11,
  3. FontWeight fontWeight = FontWeight.normal,
  4. 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,
  );
}