fromInt static method

Color fromInt(
  1. int color
)

Implementation

static Color fromInt(int color) =>
    Color('#${color.toRadixString(16).padLeft(4, '0')}');