create method

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 })

The factory method.

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

Implementation

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,
});