GradientPlus class

Constructors

GradientPlus.linear({required List<Color> colors, List<double>? stops, TileMode tileMode = TileMode.clamp, Alignment begin = Alignment.centerLeft, Alignment end = Alignment.centerRight})
Gradient linear mode
GradientPlus.radial({required List<Color> colors, List<double>? stops, TileMode tileMode = TileMode.clamp, Alignment center = Alignment.center, Alignment focal = Alignment.center, double focalRadius = 0.0, double radius = 0.0})
Gradient radial mode
GradientPlus.sweep({required List<Color> colors, List<double>? stops, TileMode tileMode = TileMode.clamp, Alignment center = Alignment.center, double startAngle = 0.0, double endAngle = 0.0})
Gradient sweep mode

Properties

colors List<Color>
Gradient colors
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stops List<double>?
Gradient colors stops
final
tileMode TileMode
Gradient tileMode
final
toGradient Gradient?
Transform GradientPlus to native Flutter Gradient
no setter

Methods

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

Operators

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