InterpolationMethod class

The method by which two colors are interpolated to find a color in the middle.

Used by SassColor.interpolate.

Constructors

InterpolationMethod(ColorSpace space, [HueInterpolationMethod? hue])
InterpolationMethod.fromValue(Value value, [String? name])
Parses a SassScript value representing an interpolation method, not beginning with "in".
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hue HueInterpolationMethod?
How to interpolate the hues between two colors.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
space ColorSpace
The color space in which to perform the interpolation.
final

Methods

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

Operators

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