hexColorFromCode method

String? hexColorFromCode(
  1. String code
)

Implementation

String? hexColorFromCode(String code){
  if(_colorCodes == null || _colorCodes!.isEmpty) return null;
  final targetColor = _colorCodes![code];
  return targetColor;
}