InteractiveInkFeature constructor Null safety

InteractiveInkFeature(
  1. {required MaterialInkController controller,
  2. required RenderBox referenceBox,
  3. required Color color,
  4. VoidCallback? onRemoved}
)

Creates an InteractiveInkFeature.

The controller and referenceBox arguments must not be null.

Implementation

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