copyWith method
DefaultListBlockStyle
copyWith({
- TextStyle? style,
- HorizontalSpacing? horizontalSpacing,
- VerticalSpacing? verticalSpacing,
- VerticalSpacing? lineSpacing,
- BoxDecoration? decoration,
- QuillCheckboxBuilder? checkboxUIBuilder,
- LeadingBlockIndentWidth? indentWidthBuilder,
- LeadingBlockNumberPointWidth? numberPointWidthBuilder,
override
Implementation
@override
DefaultListBlockStyle copyWith({
TextStyle? style,
HorizontalSpacing? horizontalSpacing,
VerticalSpacing? verticalSpacing,
VerticalSpacing? lineSpacing,
BoxDecoration? decoration,
QuillCheckboxBuilder? checkboxUIBuilder,
LeadingBlockIndentWidth? indentWidthBuilder,
LeadingBlockNumberPointWidth? numberPointWidthBuilder,
}) {
return DefaultListBlockStyle(
style ?? this.style,
horizontalSpacing ?? this.horizontalSpacing,
verticalSpacing ?? this.verticalSpacing,
lineSpacing ?? this.lineSpacing,
decoration ?? this.decoration,
checkboxUIBuilder ?? this.checkboxUIBuilder,
indentWidthBuilder: indentWidthBuilder ?? this.indentWidthBuilder,
numberPointWidthBuilder:
numberPointWidthBuilder ?? this.numberPointWidthBuilder,
);
}