copyWith method
QuillDialogTheme
copyWith({
- TextStyle? buttonTextStyle,
- TextStyle? labelTextStyle,
- TextStyle? inputTextStyle,
- Color? dialogBackgroundColor,
- ShapeBorder? shape,
- ButtonStyle? buttonStyle,
- BoxConstraints? linkDialogConstraints,
- EdgeInsetsGeometry? linkDialogPadding,
- BoxConstraints? imageDialogConstraints,
- EdgeInsetsGeometry? mediaDialogPadding,
- bool? isWrappable,
- double? runSpacing,
Implementation
QuillDialogTheme copyWith({
TextStyle? buttonTextStyle,
TextStyle? labelTextStyle,
TextStyle? inputTextStyle,
Color? dialogBackgroundColor,
ShapeBorder? shape,
ButtonStyle? buttonStyle,
BoxConstraints? linkDialogConstraints,
EdgeInsetsGeometry? linkDialogPadding,
BoxConstraints? imageDialogConstraints,
EdgeInsetsGeometry? mediaDialogPadding,
bool? isWrappable,
double? runSpacing,
}) {
return QuillDialogTheme(
buttonTextStyle: buttonTextStyle ?? this.buttonTextStyle,
labelTextStyle: labelTextStyle ?? this.labelTextStyle,
inputTextStyle: inputTextStyle ?? this.inputTextStyle,
dialogBackgroundColor:
dialogBackgroundColor ?? this.dialogBackgroundColor,
shape: shape ?? this.shape,
buttonStyle: buttonStyle ?? this.buttonStyle,
linkDialogConstraints:
linkDialogConstraints ?? this.linkDialogConstraints,
linkDialogPadding: linkDialogPadding ?? this.linkDialogPadding,
mediaSelectorDialogConstraints:
imageDialogConstraints ?? mediaSelectorDialogConstraints,
mediaSelectorDialogPadding:
mediaDialogPadding ?? mediaSelectorDialogPadding,
isWrappable: isWrappable ?? this.isWrappable,
runSpacing: runSpacing ?? this.runSpacing,
);
}