ColorPickerDialog constructor

const ColorPickerDialog({
  1. Key? key,
  2. required Color initialColor,
  3. required List<Color> colorList,
  4. String? cancelText,
  5. String? confirmText,
  6. String? backText,
  7. String? helpText,
  8. String? titleText,
  9. String? titleSemanticsLabel,
  10. TextStyle? style,
  11. TextDirection textDirection = TextDirection.ltr,
  12. bool enableSaturation = false,
  13. bool enableLightness = false,
  14. SelectedColorItemBuilder? selectedColorItemBuilder,
})

Implementation

const ColorPickerDialog({
  Key? key,
  required this.initialColor,
  required this.colorList,
  this.cancelText,
  this.confirmText,
  this.backText,
  this.helpText,
  this.titleText,
  this.titleSemanticsLabel,
  this.style,
  this.textDirection = TextDirection.ltr,
  this.enableSaturation = false,
  this.enableLightness = false,
  this.selectedColorItemBuilder,
}) : super(key: key);