copyWith method
QuranTafsirSideStyle
copyWith({
- double? quranWidthFraction,
- Color? tafsirPanelBackgroundColor,
- Color? verticalDividerColor,
- double? verticalDividerWidth,
- Color? tafsirTextColor,
- double? tafsirFontSize,
- Color? tafsirHeaderColor,
- Color? tafsirHeaderTextColor,
- Color? ayahDividerColor,
- Color? ayahTextColor,
- double? ayahFontSize,
- int? tafsirMaxLines,
- double? tafsirCollapsedHeight,
- String? readMoreText,
- String? readLessText,
- Color? readMoreButtonColor,
- TextStyle? readMoreTextStyle,
- Color? fontSizeIconColor,
- Color? fontSizeActiveTrackColor,
- Color? fontSizeInactiveTrackColor,
- Color? fontSizeThumbColor,
Implementation
QuranTafsirSideStyle copyWith({
double? quranWidthFraction,
Color? tafsirPanelBackgroundColor,
Color? verticalDividerColor,
double? verticalDividerWidth,
Color? tafsirTextColor,
double? tafsirFontSize,
Color? tafsirHeaderColor,
Color? tafsirHeaderTextColor,
Color? ayahDividerColor,
Color? ayahTextColor,
double? ayahFontSize,
int? tafsirMaxLines,
double? tafsirCollapsedHeight,
String? readMoreText,
String? readLessText,
Color? readMoreButtonColor,
TextStyle? readMoreTextStyle,
Color? fontSizeIconColor,
Color? fontSizeActiveTrackColor,
Color? fontSizeInactiveTrackColor,
Color? fontSizeThumbColor,
}) {
return QuranTafsirSideStyle(
quranWidthFraction: quranWidthFraction ?? this.quranWidthFraction,
tafsirPanelBackgroundColor:
tafsirPanelBackgroundColor ?? this.tafsirPanelBackgroundColor,
verticalDividerColor: verticalDividerColor ?? this.verticalDividerColor,
verticalDividerWidth: verticalDividerWidth ?? this.verticalDividerWidth,
tafsirTextColor: tafsirTextColor ?? this.tafsirTextColor,
tafsirFontSize: tafsirFontSize ?? this.tafsirFontSize,
tafsirHeaderColor: tafsirHeaderColor ?? this.tafsirHeaderColor,
tafsirHeaderTextColor:
tafsirHeaderTextColor ?? this.tafsirHeaderTextColor,
ayahDividerColor: ayahDividerColor ?? this.ayahDividerColor,
ayahTextColor: ayahTextColor ?? this.ayahTextColor,
ayahFontSize: ayahFontSize ?? this.ayahFontSize,
tafsirMaxLines: tafsirMaxLines ?? this.tafsirMaxLines,
tafsirCollapsedHeight:
tafsirCollapsedHeight ?? this.tafsirCollapsedHeight,
readMoreText: readMoreText ?? this.readMoreText,
readLessText: readLessText ?? this.readLessText,
readMoreButtonColor: readMoreButtonColor ?? this.readMoreButtonColor,
readMoreTextStyle: readMoreTextStyle ?? this.readMoreTextStyle,
fontSizeIconColor: fontSizeIconColor ?? this.fontSizeIconColor,
fontSizeActiveTrackColor:
fontSizeActiveTrackColor ?? this.fontSizeActiveTrackColor,
fontSizeInactiveTrackColor:
fontSizeInactiveTrackColor ?? this.fontSizeInactiveTrackColor,
fontSizeThumbColor: fontSizeThumbColor ?? this.fontSizeThumbColor,
);
}