Clickable constructor

const Clickable({
  1. Key? key,
  2. VoidCallback? onTap,
  3. VoidCallback? onDoubleTap,
  4. required BoxStyle style,
  5. required Widget builder(
    1. BuildContext context,
    2. FocusControlState focusControl,
    3. Box style
    ),
  6. bool isExpanded = false,
  7. bool? isToggled,
  8. bool isDisabled = false,
  9. MouseCursor? cursor,
  10. Box focusControlStyle(
    1. FocusControlState state
    )?,
})

Implementation

const Clickable({
  super.key,
  this.onTap,
  this.onDoubleTap,
  required this.style,
  required this.builder,
  this.isExpanded = false,
  this.isToggled,
  this.isDisabled = false,
  this.cursor,
  this.focusControlStyle,
});