InkDecoration constructor
Draws a decoration on a Material.
Implementation
InkDecoration({
@required Decoration decoration,
@required ImageConfiguration configuration,
@required MaterialInkController controller,
@required RenderBox referenceBox,
VoidCallback onRemoved,
}) : assert(configuration != null),
_configuration = configuration,
super(controller: controller, referenceBox: referenceBox, onRemoved: onRemoved) {
this.decoration = decoration;
controller.addInkFeature(this);
}