InteractiveInkFeature constructor

InteractiveInkFeature({@required MaterialInkController controller, @required RenderBox referenceBox, Color color, VoidCallback onRemoved })

Creates an InteractiveInkFeature.

The controller and referenceBox arguments must not be null.

Implementation

InteractiveInkFeature({
  @required MaterialInkController controller,
  @required RenderBox referenceBox,
  Color color,
  VoidCallback onRemoved,
}) : assert(controller != null),
     assert(referenceBox != null),
     _color = color,
     super(controller: controller, referenceBox: referenceBox, onRemoved: onRemoved);