GradientXDTransform class

Attempts to match Adobe XD gradient transformations within Flutter.

Inheritance
Annotations

Constructors

GradientXDTransform(double a, double b, double c, double d, double e, double f, Alignment center)
const

Properties

a → double
final
b → double
final
c → double
final
center → Alignment
final
d → double
final
e → double
final
f → double
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
transform(Rect bounds, {TextDirection? textDirection}) → Matrix4?
When a Gradient creates its Shader, it will call this method to determine what transform to apply to the shader for the given Rect and TextDirection.
override

Operators

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