toDartColor static method

Color toDartColor(
  1. Color color
)

Implementation

static ui.Color toDartColor(common.Color color) {
  return ui.Color.fromARGB(color.a, color.r, color.g, color.b);
}