copyWith method
CPDFUiStyleConfig
copyWith({
- String? bookmarkIcon,
- CPDFUiStyleIcons? icons,
- Color? selectTextColor,
- CPDFUiDisplayPageRectStyle? displayPageRect,
- CPDFUiScreenshotStyle? screenshot,
- CPDFUiFormPreviewStyle? formPreview,
- CPDFUiBorderStyle? defaultBorderStyle,
- CPDFUiBorderStyle? focusBorderStyle,
- CPDFUiBorderStyle? cropImageStyle,
Implementation
CPDFUiStyleConfig copyWith({
String? bookmarkIcon,
CPDFUiStyleIcons? icons,
Color? selectTextColor,
CPDFUiDisplayPageRectStyle? displayPageRect,
CPDFUiScreenshotStyle? screenshot,
CPDFUiFormPreviewStyle? formPreview,
CPDFUiBorderStyle? defaultBorderStyle,
CPDFUiBorderStyle? focusBorderStyle,
CPDFUiBorderStyle? cropImageStyle,
}) {
return CPDFUiStyleConfig(
bookmarkIcon: bookmarkIcon ?? this.bookmarkIcon,
icons: icons ?? this.icons,
selectTextColor: selectTextColor ?? this.selectTextColor,
displayPageRect: displayPageRect ?? this.displayPageRect,
screenshot: screenshot ?? this.screenshot,
formPreview: formPreview ?? this.formPreview,
defaultBorderStyle: defaultBorderStyle ?? this.defaultBorderStyle,
focusBorderStyle: focusBorderStyle ?? this.focusBorderStyle,
cropImageStyle: cropImageStyle ?? this.cropImageStyle,
);
}