copyWith method

UEpubTypography copyWith({
  1. double? fontScale,
  2. double? lineHeight,
  3. String? fontFamily,
  4. double? horizontalMargin,
  5. double? verticalMargin,
  6. bool? justify,
  7. double? paragraphSpacing,
  8. double? letterSpacing,
  9. double? wordSpacing,
  10. 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,
);