colorFromHex static method

Color colorFromHex(
  1. String hex
)

Implementation

static Color colorFromHex(String hex) {
  return ColorExtension.fromHex(hex);
}