InteractiveInkFeature constructor Null safety
- {required MaterialInkController controller,
- required RenderBox referenceBox,
- required Color color,
- 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;