renderWidget property

(Widget Function({required String pattern, required String text})?) renderWidget
getter/setter pair

A callback function that takes the text the matches the pattern and returns the Widget to be displayed inside a WidgetSpan

Implementation

Widget Function({
  required String text,
  required String pattern,
})? renderWidget;