Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Constants
all
→ const List <PropDef <Object ? > >
begin
→ const PropDef <Alignment ? >
A linear gradient's start (Flutter LinearGradient.begin).
blendMode
→ const PropDef <BlendMode >
How the paint blends with what is under it (CSS mix-blend-mode).
center
→ const PropDef <Alignment ? >
A radial gradient's center (Flutter RadialGradient.center).
color
→ const PropDef <Color ? >
end
→ const PropDef <Alignment ? >
A linear gradient's end (Flutter LinearGradient.end).
id
→ const PropDef <String ? >
image
→ const PropDef <ImagePaint ? >
length
→ const PropDef <double ? >
A gradient's length in pixels (CSS repeating-linear-gradient(..., 80px)).
noise
→ const PropDef <NoisePaint ? >
A noise paint's noise (SVG feTurbulence).
opacity
→ const PropDef <double >
The paint's opacity, 0 to 1, multiplied with its colors' own alpha.
radius
→ const PropDef <double ? >
A radial gradient's radius as a share of the box's shortest side.
stops
→ const PropDef <List <ColorStop > >
tileMode
→ const PropDef <TileMode >
What a gradient does past begin and end: clamp (keeps the end colors), repeated, mirror, decal.
transform
→ const PropDef <List <double > ? >
The gradient's transform: [a, b, tx, c, d, ty] maps a point (x, y)
of the box, in its unit square (0..1 each way), to the gradient's
unit square: u = a·x + b·y + tx, v = c·x + d·y + ty.
type
→ const PropDef <PaintType >
What the paint is: solid (a color), linear, radial, sweep or diamond (a gradient of stops),
image, or noise. Without one: an image if it has image, a linear gradient if it has stops, else solid.
visible
→ const PropDef <bool >
False keeps the paint but does not draw it.