HoverButton constructor

const HoverButton({
  1. Key? key,
  2. MouseCursor cursor(
    1. ButtonStates
    )?,
  3. VoidCallback? onPressed,
  4. VoidCallback? onLongPress,
  5. ButtonStateWidgetBuilder? builder,
  6. FocusNode? focusNode,
  7. EdgeInsetsGeometry? margin,
  8. String? semanticLabel,
  9. VoidCallback? onTapDown,
  10. VoidCallback? onTapUp,
  11. VoidCallback? onTapCancel,
  12. VoidCallback? onLongPressEnd,
  13. VoidCallback? onLongPressStart,
  14. GestureDragStartCallback? onHorizontalDragStart,
  15. GestureDragUpdateCallback? onHorizontalDragUpdate,
  16. GestureDragEndCallback? onHorizontalDragEnd,
  17. ValueChanged<bool>? onShowFocusHighlight,
  18. ValueChanged<bool>? onFocusChange,
  19. 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);