TappableTextSpan constructor

const TappableTextSpan({
  1. required String text,
  2. VoidCallback? onTap,
  3. TextStyle? hoverStyle,
  4. TextStyle? style,
  5. GestureRecognizer? recognizer,
  6. MouseCursor? mouseCursor,
  7. String? semanticsLabel,
})

Creates a tappable run of text.

Implementation

const TappableTextSpan({
  required String super.text,
  this.onTap,
  this.hoverStyle,
  super.style,
  super.recognizer,
  super.mouseCursor,
  super.semanticsLabel,
});