HoverTitle constructor
HoverTitle(})
Implementation
HoverTitle(
String text, {
final TextAlign? textAlign,
final double? fontSize,
final double? bottomPadding,
final double? topPadding,
final Color? color,
final FontWeight? fontWeight,
final FontStyle? fontStyle: FontStyle.normal,
}) : super(
text,
textAlign: textAlign ?? TextAlign.center,
topPadding: topPadding ?? 8.0,
bottomPadding: bottomPadding ?? 8.0,
color: color,
fontWeight: fontWeight ?? FontWeight.bold,
fontSize: fontSize ?? 24,
fontStyle: fontStyle,
);