ColorExtension extension

An extension for Color.

on

Methods

applyOpacity(double opacity, {Color backgroundColor = Colors.white}) Color
Returns a new Color with 1.0 opacity, which implies the origin foreground color with given opacity in backgroundColor.