LinearChannel class

Metadata about a color channel with a linear (as opposed to polar) value.

Inheritance
Annotations
  • @sealed

Properties

associatedUnit String?
The unit that's associated with this channel.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isPolarAngle bool
Whether this is a polar angle channel, which represents (in degrees) the angle around a circle.
finalinherited
lowerClamped bool
Whether the lower bound of this channel is clamped when the color is created using the global function syntax.
final
max double
The channel's maximum value.
final
min double
The channel's minimum value.
final
name String
The channel's name.
finalinherited
requiresPercent bool
Whether this channel requires values to be specified with unit % and forbids unitless values.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
upperClamped bool
Whether the upper bound of this channel is clamped when the color is created using the global function syntax.
final

Methods

isAnalogous(ColorChannel other) bool
Returns whether this channel is analogous to other.
inherited
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