CLPressable constructor
const
CLPressable({
- Key? key,
- required CLPressableBuilder builder,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- VoidCallback? onTapDown,
- bool enabled = true,
- MouseCursor? cursor,
- FocusNode? focusNode,
- bool autofocus = false,
- HitTestBehavior behavior = HitTestBehavior.opaque,
- bool semanticButton = true,
- String? semanticLabel,
Implementation
const CLPressable({
super.key,
required this.builder,
this.onTap,
this.onLongPress,
this.onTapDown,
this.enabled = true,
this.cursor,
this.focusNode,
this.autofocus = false,
this.behavior = HitTestBehavior.opaque,
this.semanticButton = true,
this.semanticLabel,
});