hexCode property

String hexCode

Return uppercase Flutter style hex code string of the color.

Implementation

String get hexCode {
  return value.toRadixString(16).toUpperCase().padLeft(8, '0');
}