create abstract method

  1. @factory
InteractiveInkFeature create({
  1. required MaterialInkController controller,
  2. required RenderBox referenceBox,
  3. required Offset position,
  4. required Color color,
  5. required TextDirection textDirection,
  6. bool containedInkWell = false,
  7. RectCallback? rectCallback,
  8. BorderRadius? borderRadius,
  9. ShapeBorder? customBorder,
  10. double? radius,
  11. VoidCallback? onRemoved,
})

The factory method.

Subclasses should override this method to return a new instance of an InteractiveInkFeature.

Implementation

@factory
InteractiveInkFeature create({
  required MaterialInkController controller,
  required RenderBox referenceBox,
  required Offset position,
  required Color color,
  required TextDirection textDirection,
  bool containedInkWell = false,
  RectCallback? rectCallback,
  BorderRadius? borderRadius,
  ShapeBorder? customBorder,
  double? radius,
  VoidCallback? onRemoved,
});