ColorPickerDialog constructor

ColorPickerDialog({
  1. required Color defaultColor,
  2. required bool defaultIsDark,
  3. String title = 'Choose a Color',
  4. String cancelButtonText = 'CANCEL',
  5. String confirmButtonText = 'CONFIRM',
  6. bool shouldAutoDetermineDarkMode = true,
  7. bool shouldShowLabel = false,
})

Implementation

ColorPickerDialog({
  required this.defaultColor,
  required this.defaultIsDark,
  this.title = 'Choose a Color',
  this.cancelButtonText = 'CANCEL',
  this.confirmButtonText = 'CONFIRM',
  this.shouldAutoDetermineDarkMode = true,
  this.shouldShowLabel = false,
});