CustomInkWell constructor

const CustomInkWell({
  1. Key? key,
  2. EdgeInsetsGeometry childPadding = const EdgeInsets.all(0),
  3. bool isSelected = false,
  4. MouseCursor? mouseCursor,
  5. required int clickInterval,
  6. double borderRadius = 8.0,
  7. Color? backgroundColor,
  8. Color? selectedColor,
  9. Color? hoverColor,
  10. Color? splashColor,
  11. Color? highlightColor,
  12. required VoidCallback? onTap,
  13. required VoidCallback? onDoubleTap,
  14. void onSecondaryTapDown(
    1. TapDownDetails
    )?,
  15. required Widget child,
})

Implementation

const CustomInkWell({
  super.key,
  this.childPadding = const EdgeInsets.all(0),
  this.isSelected = false,
  this.mouseCursor,
  required this.clickInterval,
  this.borderRadius = 8.0,
  this.backgroundColor,
  this.selectedColor,
  this.hoverColor,
  this.splashColor,
  this.highlightColor,
  required this.onTap,
  required this.onDoubleTap,
  this.onSecondaryTapDown,
  required this.child,
});