axisLabel static method

TextStyle axisLabel({
  1. Color color = const Color(0xFF666666),
  2. double fontSize = 11,
  3. FontWeight fontWeight = FontWeight.normal,
  4. String? fontFamily,
})

Creates an axis label style.

Implementation

static TextStyle axisLabel({
  Color color = const Color(0xFF666666),
  double fontSize = 11,
  FontWeight fontWeight = FontWeight.normal,
  String? fontFamily,
}) {
  return TextStyle(
    color: color,
    fontSize: fontSize,
    fontWeight: fontWeight,
    fontFamily: fontFamily,
  );
}