CLPressable constructor

const CLPressable({
  1. Key? key,
  2. required CLPressableBuilder builder,
  3. VoidCallback? onTap,
  4. VoidCallback? onLongPress,
  5. VoidCallback? onTapDown,
  6. bool enabled = true,
  7. MouseCursor? cursor,
  8. FocusNode? focusNode,
  9. bool autofocus = false,
  10. HitTestBehavior behavior = HitTestBehavior.opaque,
  11. bool semanticButton = true,
  12. 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,
});