fromHex static method

Color fromHex(
  1. int hex
)

Implementation

static Color fromHex(int hex) {
  return Color(0.0, 0.0, 0.0).setHex(hex);
}