ImageRepeat enum Null safety

How to paint any portions of a box not covered by an image.

Inheritance

Constructors

ImageRepeat()
const

Values

repeat → const ImageRepeat

Repeat the image in both the x and y directions until the box is filled.

ImageRepeat()
repeatX → const ImageRepeat

Repeat the image in the x direction until the box is filled horizontally.

ImageRepeat()
repeatY → const ImageRepeat

Repeat the image in the y direction until the box is filled vertically.

ImageRepeat()
noRepeat → const ImageRepeat

Leave uncovered portions of the box transparent.

ImageRepeat()

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ImageRepeat>
A constant List of the values in this enum, in order of their declaration.
[repeat, repeatX, repeatY, noRepeat]