copyWith method
MdBlockQuote
copyWith({
- TextStyle? blockquote,
- BoxDecoration? blockquoteDecoration,
- EdgeInsets? blockquotePadding,
- EdgeInsets? blockquoteContentPadding,
override
Creates a copy of this spec with the given fields replaced by the non-null parameter values.
Implementation
@override
MdBlockQuote copyWith({
TextStyle? blockquote,
BoxDecoration? blockquoteDecoration,
EdgeInsets? blockquotePadding,
EdgeInsets? blockquoteContentPadding,
}) {
return MdBlockQuote(
blockquote: blockquote ?? this.blockquote,
blockquoteDecoration: blockquoteDecoration ?? this.blockquoteDecoration,
blockquotePadding: blockquotePadding ?? this.blockquotePadding,
blockquoteContentPadding:
blockquoteContentPadding ?? this.blockquoteContentPadding,
);
}