toWidget method
Implementation
@override
GestureDetector toWidget(AnyWidgetContext context) {
return GestureDetector(
key: key?.toFlutter(context),
child: child?.toWidget(context),
behavior: behavior?.toFlutter(context),
excludeFromSemantics: excludeFromSemantics ?? false,
onTap: actionsCallback(onTap, context),
onSecondaryTap: actionsCallback(onSecondaryTap, context),
onDoubleTap: actionsCallback(onDoubleTap, context),
onLongPress: actionsCallback(onLongPress, context),
onSecondaryLongPress: actionsCallback(onSecondaryLongPress, context),
onTertiaryLongPress: actionsCallback(onTertiaryLongPress, context),
);
}