ColorPickerCopyPasteBehavior constructor
const
ColorPickerCopyPasteBehavior(
- {bool ctrlC = true,
- bool ctrlV = true,
- bool autoFocus = true,
- bool copyButton = false,
- bool pasteButton = false,
- IconData copyIcon = Icons.copy,
- IconData pasteIcon = Icons.paste,
- String? copyTooltip,
- String? pasteTooltip,
- ColorPickerCopyFormat copyFormat = ColorPickerCopyFormat.dartCode,
- bool longPressMenu = false,
- bool secondaryMenu = false,
- bool secondaryOnDesktopLongOnDevice = false,
- bool secondaryOnDesktopLongOnDeviceAndWeb = false,
- bool editFieldCopyButton = true,
- bool snackBarParseError = false,
- String? snackBarMessage,
- Duration snackBarDuration = const Duration(milliseconds: 1800),
- bool feedbackParseError = false,
- bool parseShortHexCode = false,
- 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});