ColorPickerDialog constructor
const
ColorPickerDialog({
- Key? key,
- required Color initialColor,
- required List<
Color> colorList, - String? cancelText,
- String? confirmText,
- String? backText,
- String? helpText,
- String? titleText,
- String? titleSemanticsLabel,
- TextStyle? style,
- TextDirection textDirection = TextDirection.ltr,
- bool enableSaturation = false,
- bool enableLightness = false,
- 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);