storage property

Float32List storage

Returns a Float32List that represents the color as a vector.

Implementation

Float32List get storage =>
    Float32List.fromList([red / 255, green / 255, blue / 255, opacity]);