LiveInkWell constructor

const LiveInkWell({
  1. Key? key,
  2. ValueCell<bool> enabled = const ValueCell.value(true),
  3. ActionCell? tap,
  4. ActionCell? doubleTap,
  5. ActionCell? longPress,
  6. ActionCell? tapCancel,
  7. MetaCell<TapDownDetails>? tapDown,
  8. MetaCell<TapUpDetails>? tapUp,
  9. ActionCell? secondaryTap,
  10. ActionCell? secondaryTapCancel,
  11. MetaCell<TapDownDetails>? secondaryTapDown,
  12. MetaCell<TapUpDetails>? secondaryTapUp,
  13. MetaCell<bool>? highlighted,
  14. MetaCell<bool>? hovered,
  15. MetaCell<bool>? focussed,
  16. Widget? child,
  17. MouseCursor? mouseCursor,
  18. Color? focusColor,
  19. Color? hoverColor,
  20. Color? highlightColor,
  21. WidgetStateProperty<Color?>? overlayColor,
  22. Color? splashColor,
  23. InteractiveInkFeatureFactory? splashFactory,
  24. double? radius,
  25. BorderRadius? borderRadius,
  26. ShapeBorder? customBorder,
  27. bool enableFeedback = true,
  28. bool excludeFromSemantics = false,
  29. FocusNode? focusNode,
  30. bool canRequestFocus = true,
  31. bool autofocus = false,
  32. WidgetStatesController? statesController,
})

Implementation

const LiveInkWell({
  super.key,
  this.enabled = const ValueCell.value(true),
  this.tap,
  this.doubleTap,
  this.longPress,
  this.tapCancel,
  this.tapDown,
  this.tapUp,
  this.secondaryTap,
  this.secondaryTapCancel,
  this.secondaryTapDown,
  this.secondaryTapUp,
  this.highlighted,
  this.hovered,
  this.focussed,
  this.child,
  this.mouseCursor,
  this.focusColor,
  this.hoverColor,
  this.highlightColor,
  this.overlayColor,
  this.splashColor,
  this.splashFactory,
  this.radius,
  this.borderRadius,
  this.customBorder,
  this.enableFeedback = true,
  this.excludeFromSemantics = false,
  this.focusNode,
  this.canRequestFocus = true,
  this.autofocus = false,
  this.statesController,
});