writeColor function

String writeColor(
  1. int color
)

Implementation

String writeColor(int color) =>
    (color & 0x00FFFFFF).toRadixString(16).padLeft(6, '0');