toDartColor method

Color toDartColor()

Converts a common color to a Flutter color.

Implementation

ui.Color toDartColor() => ui.Color.fromARGB(a, r, g, b);