build method
- dynamic context,
- dynamic ref
Implementation
@override
Widget build(BuildContext context, WidgetRef ref) {
return Html(
onLinkTap: (target) async {
await openLink(
ref: ref,
target: target.toString(),
lang: L10n.of(context),
);
},
data: text,
defaultTextStyle: defaultTextStyle,
linkStyle: linkTextStyle,
);
}