ColorPickerActionButtons constructor
const
ColorPickerActionButtons({
- bool okButton = false,
- bool closeButton = false,
- IconData okIcon = Icons.check,
- IconData closeIcon = Icons.close,
- bool closeIsLast = true,
- String? okTooltip,
- String? closeTooltip,
- bool closeTooltipIsClose = true,
- IconThemeData? toolIconsThemeData,
- VisualDensity? visualDensity,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- AlignmentGeometry alignment = Alignment.center,
- double splashRadius = 24,
- BoxConstraints constraints = const BoxConstraints(minHeight: 42, minWidth: 42),
- bool dialogActionButtons = true,
- bool dialogActionOnlyOkButton = false,
- ColorPickerActionButtonOrder dialogActionOrder = ColorPickerActionButtonOrder.okIsRight,
- bool dialogActionIcons = false,
- String? dialogCancelButtonLabel,
- ColorPickerActionButtonType dialogCancelButtonType = ColorPickerActionButtonType.text,
- String? dialogOkButtonLabel,
- ColorPickerActionButtonType dialogOkButtonType = ColorPickerActionButtonType.text,
Default const constructor.
Implementation
const ColorPickerActionButtons({
this.okButton = false,
this.closeButton = false,
this.okIcon = Icons.check,
this.closeIcon = Icons.close,
this.closeIsLast = true,
this.okTooltip,
this.closeTooltip,
this.closeTooltipIsClose = true,
this.toolIconsThemeData,
this.visualDensity,
this.padding = EdgeInsets.zero,
this.alignment = Alignment.center,
this.splashRadius = 24,
this.constraints = const BoxConstraints(minHeight: 42, minWidth: 42),
this.dialogActionButtons = true,
this.dialogActionOnlyOkButton = false,
this.dialogActionOrder = ColorPickerActionButtonOrder.okIsRight,
this.dialogActionIcons = false,
this.dialogCancelButtonLabel,
this.dialogCancelButtonType = ColorPickerActionButtonType.text,
this.dialogOkButtonLabel,
this.dialogOkButtonType = ColorPickerActionButtonType.text,
this.useRootNavigator = true,
});