Tappable.link constructor
Tappable.link(
- String s, {
- FutureTappableCallback? onTap,
- HitTestBehavior behavior = HitTestBehavior.opaque,
- LongPressCallback? onLongPress,
- bool useMouseCursor = true,
- TextStyle? style,
Implementation
Tappable.link(
String s, {
this.onTap,
this.behavior = HitTestBehavior.opaque,
this.onLongPress,
this.useMouseCursor = true,
TextStyle? style,
}) : duration = const Duration(milliseconds: 300),
pressOpacity = null,
pressScale = null,
child = Text(s, style: style ?? sunnyText.body1Link);