HoverButton constructor
const
HoverButton({
- Key? key,
- MouseCursor cursor()?,
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
- ButtonStateWidgetBuilder? builder,
- FocusNode? focusNode,
- EdgeInsetsGeometry? margin,
- String? semanticLabel,
- VoidCallback? onTapDown,
- VoidCallback? onTapUp,
- VoidCallback? onTapCancel,
- VoidCallback? onLongPressEnd,
- VoidCallback? onLongPressStart,
- GestureDragStartCallback? onHorizontalDragStart,
- GestureDragUpdateCallback? onHorizontalDragUpdate,
- GestureDragEndCallback? onHorizontalDragEnd,
- ValueChanged<
bool> ? onShowFocusHighlight, - ValueChanged<
bool> ? onFocusChange, - bool autofocus = false,
Creates a hover button.
Implementation
const HoverButton({
Key? key,
this.cursor,
this.onPressed,
this.onLongPress,
this.builder,
this.focusNode,
this.margin,
this.semanticLabel,
this.onTapDown,
this.onTapUp,
this.onTapCancel,
this.onLongPressEnd,
this.onLongPressStart,
this.onHorizontalDragStart,
this.onHorizontalDragUpdate,
this.onHorizontalDragEnd,
this.onShowFocusHighlight,
this.onFocusChange,
this.autofocus = false,
}) : super(key: key);