An image for a box decoration.
The image is painted using paintImage, which describes the meanings of the various fields on this class in more detail.
- alignment → AlignmentGeometry
How to align the image within its bounds. [...]
- centerSlice → Rect
The center slice for a nine-patch image. [...]
- colorFilter → ColorFilter
A color filter to apply to the image before painting it.
- fit → BoxFit
How the image should be inscribed into the box. [...]
- hashCode → int
The hash code for this object. [...]
- image → ImageProvider
The image to be painted into the decoration. [...]
- matchTextDirection → bool
Whether to paint the image in the direction of the
- repeat → ImageRepeat
How to paint any portions of the box that would not otherwise be covered
by the image.
- runtimeType → Type
A representation of the runtime type of the object.
void onChanged) → DecorationImagePainter
- Creates a DecorationImagePainter for this DecorationImage. [...]
) → String
- Returns a string representation of this object.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]