ColorPickerCopyPasteBehavior constructor

const ColorPickerCopyPasteBehavior(
  1. {bool ctrlC = true,
  2. bool ctrlV = true,
  3. bool autoFocus = true,
  4. bool copyButton = false,
  5. bool pasteButton = false,
  6. IconData copyIcon = Icons.copy,
  7. IconData pasteIcon = Icons.paste,
  8. String? copyTooltip,
  9. String? pasteTooltip,
  10. ColorPickerCopyFormat copyFormat = ColorPickerCopyFormat.dartCode,
  11. bool longPressMenu = false,
  12. bool secondaryMenu = false,
  13. bool secondaryOnDesktopLongOnDevice = false,
  14. bool secondaryOnDesktopLongOnDeviceAndWeb = false,
  15. bool editFieldCopyButton = true,
  16. IconThemeData? menuIconThemeData,
  17. PopupMenuThemeData? menuThemeData,
  18. double menuWidth = 80,
  19. double menuItemHeight = 30,
  20. bool snackBarParseError = false,
  21. String? snackBarMessage,
  22. Duration snackBarDuration = const Duration(milliseconds: 1800),
  23. bool feedbackParseError = false,
  24. bool parseShortHexCode = false,
  25. bool editUsesParsedPaste = false}
)

Default constructor

Implementation

const ColorPickerCopyPasteBehavior(
    {this.ctrlC = true,
    this.ctrlV = true,
    this.autoFocus = true,
    this.copyButton = false,
    this.pasteButton = false,
    this.copyIcon = Icons.copy,
    this.pasteIcon = Icons.paste,
    this.copyTooltip,
    this.pasteTooltip,
    this.copyFormat = ColorPickerCopyFormat.dartCode,
    this.longPressMenu = false,
    this.secondaryMenu = false,
    this.secondaryOnDesktopLongOnDevice = false,
    this.secondaryOnDesktopLongOnDeviceAndWeb = false,
    this.editFieldCopyButton = true,
    this.menuIconThemeData,
    this.menuThemeData,
    this.menuWidth = 80,
    this.menuItemHeight = 30,
    this.snackBarParseError = false,
    this.snackBarMessage,
    this.snackBarDuration = const Duration(milliseconds: 1800),
    this.feedbackParseError = false,
    this.parseShortHexCode = false,
    this.editUsesParsedPaste = false});