AdLinearGradient class

Inheritance

Constructors

AdLinearGradient({AdGradientOrientation? orientation, required List<Color> colors})
Creates a LinearGradient.

Properties

colors List<Color>?
The colors of the gradients. There must be at least two colors
finalinherited
gradientCenter Alignment
The center point of the gadient used by AdRadialGradient.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
orientation AdGradientOrientation?
The orientation of the gradient. Default to left to right
finalinherited
radialGradientRadius double?
The radius used by AdRadialGradient
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of the gradient.
finalinherited

Methods

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

Operators

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