copyWith method
UEpubTypography
copyWith(
{ - double? fontScale,
- double? lineHeight,
- String? fontFamily,
- double? horizontalMargin,
- double? verticalMargin,
- bool? justify,
- double? paragraphSpacing,
- double? letterSpacing,
- double? wordSpacing,
- bool? hyphenate,
})
Implementation
UEpubTypography copyWith({
double? fontScale,
double? lineHeight,
String? fontFamily,
double? horizontalMargin,
double? verticalMargin,
bool? justify,
double? paragraphSpacing,
double? letterSpacing,
double? wordSpacing,
bool? hyphenate,
}) => UEpubTypography(
fontScale: fontScale ?? this.fontScale,
lineHeight: lineHeight ?? this.lineHeight,
fontFamily: fontFamily ?? this.fontFamily,
horizontalMargin: horizontalMargin ?? this.horizontalMargin,
verticalMargin: verticalMargin ?? this.verticalMargin,
justify: justify ?? this.justify,
paragraphSpacing: paragraphSpacing ?? this.paragraphSpacing,
letterSpacing: letterSpacing ?? this.letterSpacing,
wordSpacing: wordSpacing ?? this.wordSpacing,
hyphenate: hyphenate ?? this.hyphenate,
);