InkDecoration constructor
- required Decoration? decoration,
- bool isVisible = true,
- required ImageConfiguration configuration,
- required MaterialInkController controller,
- required RenderBox referenceBox,
- VoidCallback? onRemoved,
Draws a decoration on a Material.
Implementation
InkDecoration({
required Decoration? decoration,
bool isVisible = true,
required ImageConfiguration configuration,
required super.controller,
required super.referenceBox,
super.onRemoved,
}) : _configuration = configuration {
this.decoration = decoration;
this.isVisible = isVisible;
controller.addInkFeature(this);
}