Defines what happens at the edge of the gradient.

Constants

clamp TileMode

Edge is clamped to the final color.

const TileMode(0)
mirror TileMode

Edge is mirrored from last color to first.

const TileMode(2)
repeated TileMode

Edge is repeated from first color to last.

const TileMode(1)
values List<TileMode>

A constant List of the values in this enum, in order of their declaration.

const List<TileMode>

Properties

index int
read-only
hashCode int

Get a hash code for this object.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited