PaletteRGB class abstract
A Palette Color from alpha, red, green and blue.
The color value consists of four bytes (32 bits):
- bits 24-31 are the alpha value (opacity).
- bits 16-23 are the red value.
- bits 8–15 are the green value.
- bits 0–7 are the blue value.
- Implemented types
- Implementers
- Amber
- AmberAccent
- Black
- Blue
- BlueAccent
- BlueGrey
- Brown
- Cyan
- CyanAccent
- DeepOrange
- DeepOrangeAccent
- DeepPurple
- DeepPurpleAccent
- Green
- GreenAccent
- Grey
- Indigo
- IndigoAccent
- LightBlue
- LightBlueAccent
- LightGreen
- LightGreenAccent
- Lime
- LimeAccent
- Orange
- OrangeAccent
- Pink
- PinkAccent
- Purple
- PurpleAccent
- Red
- RedAccent
- Teal
- TealAccent
- Transparent
- White
- Yellow
- YellowAccent
Constructors
- PaletteRGB({required int alpha, required int rgb})
-
Custom
alpha
andrgb
values.const - PaletteRGB.black({int opacity = 0xFF})
-
Convenience black #000000.
const
- PaletteRGB.opaque(int rgb)
-
Fully opaque color.
const
- PaletteRGB.white({int opacity = 0xFF})
-
Convenience white #FFFFFF.
const
Properties
Methods
-
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