EzLink constructor
EzLink({})
Creates a TextSpan with an internal link via TapGestureRecognizer See EzWebLink for making extertnal links
Requires semanticsLabel
to enforce accessibility
Implementation
EzLink({
required String text,
required Function()? action,
TextStyle? style,
required String semanticsLabel,
}) : super(
text: text,
recognizer: new TapGestureRecognizer()..onTap = action,
style: style,
semanticsLabel: semanticsLabel,
);