tooltip static method

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

Creates a tooltip text style.

Implementation

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