toFactoredListWithAlpha method

List<double> toFactoredListWithAlpha()

Returns a fixed-length list containing the red, green, blue, and alpha values factored to be on 0 to 1 scale.

Implementation

List<double> toFactoredListWithAlpha() => toPreciseListWithAlpha()
    .map<double>((value) => value / 255)
    .toList(growable: false);