asMaterialAccent property Null safety

MaterialAccentColor asMaterialAccent

Returns this color as a MaterialAccentColor via materialAccentFrom using SwatchMode.shade and a factor of 200.

Implementation

MaterialAccentColor get asMaterialAccent
    // (Color color, {SwatchMode mode = SwatchMode.shade, double? factor,})
    =>
    // materialAccentFrom(color, mode, factor);
    materialAccentFrom(this, SwatchMode.shade, 200);