create method

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

The factory method.

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

Implementation

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