WxAnchor.raw constructor
const
WxAnchor.raw({
- Key? key,
- Curve? curve,
- Duration? duration,
- VoidCallback? onTap,
- GestureTapUpCallback? onTapUp,
- GestureTapDownCallback? onTapDown,
- VoidCallback? onTapCancel,
- VoidCallback? onDoubleTap,
- VoidCallback? onLongPress,
- ValueChanged<
bool> ? onHover, - ValueChanged<
bool> ? onFocus, - double? scale,
- double? opacity,
- bool? overlay,
- ShapeBorder? overlayShape,
- Color? overlayColor,
- double? overlayOpacity,
- Size? overlayExtent,
- Color? textColor,
- TextStyle? textStyle,
- TextAlign? textAlign,
- Color? iconColor,
- double? iconOpacity,
- double? iconSize,
- MouseCursor? mouseCursor,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- WxAnchorStyle? style,
- WxAnchorStyle? focusedStyle,
- WxAnchorStyle? hoveredStyle,
- WxAnchorStyle? pressedStyle,
- WxAnchorStyle? disabledStyle,
- WidgetEventController? eventsController,
- FocusNode? focusNode,
- bool autofocus = false,
- bool? focusable,
- bool? feedback,
- bool? disabled,
- 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,
});