LiveInkResponse constructor

const LiveInkResponse({
  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. bool containedInkWell = false,
  19. BoxShape highlightShape = BoxShape.circle,
  20. double? radius,
  21. BorderRadius? borderRadius,
  22. ShapeBorder? customBorder,
  23. Color? focusColor,
  24. Color? hoverColor,
  25. Color? highlightColor,
  26. WidgetStateProperty<Color?>? overlayColor,
  27. Color? splashColor,
  28. InteractiveInkFeatureFactory? splashFactory,
  29. bool enableFeedback = true,
  30. bool excludeFromSemantics = false,
  31. FocusNode? focusNode,
  32. bool canRequestFocus = true,
  33. bool autofocus = false,
  34. WidgetStatesController? statesController,
  35. Duration? hoverDuration,
})

Implementation

const LiveInkResponse({
  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.containedInkWell = false,
  this.highlightShape = BoxShape.circle,
  this.radius,
  this.borderRadius,
  this.customBorder,
  this.focusColor,
  this.hoverColor,
  this.highlightColor,
  this.overlayColor,
  this.splashColor,
  this.splashFactory,
  this.enableFeedback = true,
  this.excludeFromSemantics = false,
  this.focusNode,
  this.canRequestFocus = true,
  this.autofocus = false,
  this.statesController,
  this.hoverDuration,
});