Color.hex constructor

const Color.hex(
  1. String value
)

Creates a color from a hex string.

Implementation

const Color.hex(String value) : value = value;