NiceGradientValue class
Gradient definition.
Constructors
-
NiceGradientValue({NiceGradientType type = NiceGradientType.linear, double angle = 90, List<
NiceGradientStop> stops = const [], bool repeating = false}) -
const
Properties
- angle → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- repeating → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stops
→ List<
NiceGradientStop> -
final
- type → NiceGradientType
-
final
Methods
-
copyWith(
{NiceGradientType? type, double? angle, List< NiceGradientStop> ? stops, bool? repeating}) → NiceGradientValue -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCss(
) → String - Convert to CSS gradient string.
-
toGradient(
) → Gradient - Convert to Flutter Gradient object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited