Flutter
painting
ColorSwatch
<
T
>
operator [] method
operator []
description
operator []
method
Null safety
Color
?
operator []
(
T
index
)
Returns an element of the swatch table.
Implementation
Color? operator [](T index) => _swatch[index];
Flutter
painting
ColorSwatch
<
T
>
operator [] method
ColorSwatch class
Constructors
ColorSwatch
Properties
alpha
blue
green
hashCode
opacity
red
runtimeType
value
Methods
computeLuminance
noSuchMethod
toString
withAlpha
withBlue
withGreen
withOpacity
withRed
Operators
operator ==
operator []
Static methods
lerp