ColorPickerActionButtons constructor

const ColorPickerActionButtons({
  1. bool okButton = false,
  2. bool closeButton = false,
  3. IconData okIcon = Icons.check,
  4. IconData closeIcon = Icons.close,
  5. bool closeIsLast = true,
  6. String? okTooltip,
  7. String? closeTooltip,
  8. bool closeTooltipIsClose = true,
  9. IconThemeData? toolIconsThemeData,
  10. VisualDensity? visualDensity,
  11. EdgeInsetsGeometry padding = EdgeInsets.zero,
  12. AlignmentGeometry alignment = Alignment.center,
  13. double splashRadius = 24,
  14. BoxConstraints constraints = const BoxConstraints(minHeight: 42, minWidth: 42),
  15. bool dialogActionButtons = true,
  16. bool dialogActionOnlyOkButton = false,
  17. ColorPickerActionButtonOrder dialogActionOrder = ColorPickerActionButtonOrder.okIsRight,
  18. bool dialogActionIcons = false,
  19. String? dialogCancelButtonLabel,
  20. ColorPickerActionButtonType dialogCancelButtonType = ColorPickerActionButtonType.text,
  21. String? dialogOkButtonLabel,
  22. ColorPickerActionButtonType dialogOkButtonType = ColorPickerActionButtonType.text,
  23. bool useRootNavigator = true,
})

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,
});