WxAnchor.raw constructor

const WxAnchor.raw({
  1. Key? key,
  2. Curve? curve,
  3. Duration? duration,
  4. VoidCallback? onTap,
  5. GestureTapUpCallback? onTapUp,
  6. GestureTapDownCallback? onTapDown,
  7. VoidCallback? onTapCancel,
  8. VoidCallback? onDoubleTap,
  9. VoidCallback? onLongPress,
  10. ValueChanged<bool>? onHover,
  11. ValueChanged<bool>? onFocus,
  12. double? scale,
  13. double? opacity,
  14. bool? overlay,
  15. ShapeBorder? overlayShape,
  16. Color? overlayColor,
  17. double? overlayOpacity,
  18. Size? overlayExtent,
  19. Color? textColor,
  20. TextStyle? textStyle,
  21. TextAlign? textAlign,
  22. Color? iconColor,
  23. double? iconOpacity,
  24. double? iconSize,
  25. MouseCursor? mouseCursor,
  26. EdgeInsetsGeometry? padding,
  27. EdgeInsetsGeometry? margin,
  28. WxAnchorStyle? style,
  29. WxAnchorStyle? focusedStyle,
  30. WxAnchorStyle? hoveredStyle,
  31. WxAnchorStyle? pressedStyle,
  32. WxAnchorStyle? disabledStyle,
  33. WidgetEventController? eventsController,
  34. FocusNode? focusNode,
  35. bool autofocus = false,
  36. bool? focusable,
  37. bool? feedback,
  38. bool? disabled,
  39. Widget? child,
})

Creates an area that responds to touch.

Implementation

const WxAnchor.raw({
  super.key,
  this.curve,
  this.duration,
  this.onTap,
  this.onTapUp,
  this.onTapDown,
  this.onTapCancel,
  this.onDoubleTap,
  this.onLongPress,
  this.onHover,
  this.onFocus,
  this.scale,
  this.opacity,
  this.overlay,
  this.overlayShape,
  this.overlayColor,
  this.overlayOpacity,
  this.overlayExtent,
  this.textColor,
  this.textStyle,
  this.textAlign,
  this.iconColor,
  this.iconOpacity,
  this.iconSize,
  this.mouseCursor,
  this.padding,
  this.margin,
  this.style,
  this.focusedStyle,
  this.hoveredStyle,
  this.pressedStyle,
  this.disabledStyle,
  this.eventsController,
  this.focusNode,
  this.autofocus = false,
  this.focusable,
  this.feedback,
  this.disabled,
  this.child,
});