HoverText constructor

const HoverText(
  1. String text, {
  2. Key? key,
  3. TextStyle? style,
  4. Color hoverColor = Colors.red,
  5. VoidCallback? onPressed,
  6. TextAlign? textAlign,
  7. TextDirection? textDirection,
  8. 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);