Definition constructor

const Definition(
  1. {required TextMatcher matcher,
  2. Key? rebuildKey,
  3. ShownTextSelector? shownText,
  4. ActionTextSelector? actionText,
  5. SpanBuilder? builder,
  6. TextStyle? matchStyle,
  7. TextStyle? tapStyle,
  8. TextStyle? hoverStyle,
  9. GestureCallback? onTap,
  10. GestureCallback? onLongPress,
  11. GestureCallback? onGesture,
  12. MouseCursor? mouseCursor}
)

Implementation

const Definition({
  required this.matcher,
  this.rebuildKey,
  this.shownText,
  this.actionText,
  this.builder,
  this.matchStyle,
  this.tapStyle,
  this.hoverStyle,
  this.onTap,
  this.onLongPress,
  this.onGesture,
  this.mouseCursor,
});