A decoration on a part of a Material.
This object is rarely created directly. Instead of creating an ink decoration directly, consider using an Ink widget, which uses this class in combination with Padding and ConstrainedBox to draw a decoration on a Material.
- configuration ↔ ImageConfiguration
The configuration to pass to the BoxPainter obtained from the
decoration, when painting. [...]
read / write
- decoration ↔ Decoration
What to paint on the Material. [...]
read / write
- controller → MaterialInkController
The MaterialInkController associated with this InkFeature. [...]
- hashCode → int
The hash code for this object. [...]
- onRemoved → VoidCallback
Called when the ink feature is no longer visible on the material.
- referenceBox → RenderBox
The render box whose visual position defines the frame of reference for this ink feature.
- runtimeType → Type
A representation of the runtime type of the object.
) → void
- Free up the resources associated with this ink feature.
Canvas canvas, Matrix4 transform) → void
- Override this method to paint the ink feature. [...]
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
) → String
Returns a string representation of this object.