SingleColorConfig constructor

SingleColorConfig({
  1. int? alpha,
  2. int? hex,
  3. double? opacity,
  4. List<int>? rgb,
  5. bool? primary,
  6. required String name,
})

Implementation

SingleColorConfig({
  this.alpha,
  this.hex,
  this.opacity,
  this.rgb,
  this.primary,
  required this.name,
}) : assert(hex != null || rgb != null) {
  hexString = _parseHexString();
}