RadialGradient class Null safety

A 2D radial gradient.

Inheritance

Constructors

RadialGradient({Alignment center = Alignment.center, double radius = 0.5, required List<PdfColor> colors, List<double>? stops, TileMode tileMode = TileMode.clamp, Alignment? focal, double focalRadius = 0.0})
Creates a radial gradient. [...]
const

Properties

center Alignment
The center of the gradient
final
colors List<PdfColor>
final, inherited
focal Alignment?
The focal point of the gradient.
final
focalRadius double
The radius of the focal point of the gradient.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
radius double
The radius of the gradient
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stops List<double>?
A list of values from 0.0 to 1.0 that denote fractions along the gradient.
final, inherited
tileMode TileMode
How this gradient should tile the plane beyond the outer ring at radius pixels from the center.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
paint(Context context, PdfRect box) → void
override
toString() String
A string representation of this object. [...]
inherited

Operators

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