HoverText constructor
const
HoverText(
- String text, {
- Key? key,
- TextStyle? style,
- Color hoverColor = Colors.red,
- VoidCallback? onPressed,
- TextAlign? textAlign,
- TextDirection? textDirection,
- int? maxLines,
Implementation
const HoverText(
this.text, {
Key? key,
this.style,
this.hoverColor = Colors.red,
this.onPressed,
this.textAlign,
this.textDirection,
this.maxLines,
}) : super(key: key);