toDartColor static method

Color toDartColor(
  1. Color color
)

Converts a common color to a Flutter color.

Implementation

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