fromDartColor method

Color fromDartColor()

Converts a Flutter color to a common color.

Implementation

common.Color fromDartColor() => common.Color(
      r: red,
      g: green,
      b: blue,
      a: alpha,
    );