renderWidget property
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;
A callback function that takes the text
the matches the pattern and returns
the Widget to be displayed inside a WidgetSpan
Widget Function({
required String text,
required String pattern,
})? renderWidget;