fromDartColor static method

Color fromDartColor(
  1. Color color
)

Converts a Flutter color to a common color.

Implementation

static common.Color fromDartColor(ui.Color color) => color.fromDartColor();