copyWith method
ZefyrThemeData
copyWith({
- TextStyle? bold,
- TextStyle? italic,
- TextStyle? underline,
- TextStyle? strikethrough,
- TextStyle? link,
- TextBlockTheme? paragraph,
- TextBlockTheme? heading1,
- TextBlockTheme? heading2,
- TextBlockTheme? heading3,
- TextBlockTheme? lists,
- TextBlockTheme? quote,
- TextBlockTheme? code,
Implementation
ZefyrThemeData copyWith({
TextStyle? bold,
TextStyle? italic,
TextStyle? underline,
TextStyle? strikethrough,
TextStyle? link,
TextBlockTheme? paragraph,
TextBlockTheme? heading1,
TextBlockTheme? heading2,
TextBlockTheme? heading3,
TextBlockTheme? lists,
TextBlockTheme? quote,
TextBlockTheme? code,
}) {
return ZefyrThemeData(
bold: bold ?? this.bold,
italic: italic ?? this.italic,
underline: underline ?? this.underline,
strikethrough: strikethrough ?? this.strikethrough,
link: link ?? this.link,
paragraph: paragraph ?? this.paragraph,
heading1: heading1 ?? this.heading1,
heading2: heading2 ?? this.heading2,
heading3: heading3 ?? this.heading3,
lists: lists ?? this.lists,
quote: quote ?? this.quote,
code: code ?? this.code,
);
}