copyWith method
TafsirStyle
copyWith({
- Widget? tafsirNameWidget,
- Widget? fontSizeWidget,
- String? translateName,
- String? tafsirName,
- Color? currentTafsirColor,
- Color? textTitleColor,
- Color? backgroundTitleColor,
- Color? selectedTafsirColor,
- Color? unSelectedTafsirColor,
- Color? selectedTafsirTextColor,
- Color? unSelectedTafsirTextColor,
- Color? selectedTafsirBorderColor,
- Color? unSelectedTafsirBorderColor,
- Color? backgroundColor,
- Color? textColor,
- Color? tafsirBackgroundColor,
- Color? dividerColor,
- double? fontSize,
- String? footnotesName,
- double? horizontalMargin,
- double? verticalMargin,
- String? tafsirIsEmptyNote,
- double? heightOfBottomSheet,
- double? widthOfBottomSheet,
- double? changeTafsirDialogHeight,
- double? changeTafsirDialogWidth,
- Widget? fontSizeIconWidget,
- Color? fontSizeBackgroundColor,
- Color? fontSizeThumbColor,
- Color? fontSizeActiveTrackColor,
- Color? fontSizeInactiveTrackColor,
- double? fontSizeIconSize,
Implementation
TafsirStyle copyWith({
Widget? tafsirNameWidget,
Widget? fontSizeWidget,
String? translateName,
String? tafsirName,
Color? currentTafsirColor,
Color? textTitleColor,
Color? backgroundTitleColor,
Color? selectedTafsirColor,
Color? unSelectedTafsirColor,
Color? selectedTafsirTextColor,
Color? unSelectedTafsirTextColor,
Color? selectedTafsirBorderColor,
Color? unSelectedTafsirBorderColor,
Color? backgroundColor,
Color? textColor,
Color? tafsirBackgroundColor,
Color? dividerColor,
double? fontSize,
String? footnotesName,
double? horizontalMargin,
double? verticalMargin,
String? tafsirIsEmptyNote,
double? heightOfBottomSheet,
double? widthOfBottomSheet,
double? changeTafsirDialogHeight,
double? changeTafsirDialogWidth,
Widget? fontSizeIconWidget,
Color? fontSizeBackgroundColor,
Color? fontSizeThumbColor,
Color? fontSizeActiveTrackColor,
Color? fontSizeInactiveTrackColor,
double? fontSizeIconSize,
}) {
return TafsirStyle(
tafsirNameWidget: tafsirNameWidget ?? this.tafsirNameWidget,
fontSizeWidget: fontSizeWidget ?? this.fontSizeWidget,
translateName: translateName ?? this.translateName,
tafsirName: tafsirName ?? this.tafsirName,
currentTafsirColor: currentTafsirColor ?? this.currentTafsirColor,
textTitleColor: textTitleColor ?? this.textTitleColor,
backgroundTitleColor: backgroundTitleColor ?? this.backgroundTitleColor,
selectedTafsirColor: selectedTafsirColor ?? this.selectedTafsirColor,
unSelectedTafsirColor:
unSelectedTafsirColor ?? this.unSelectedTafsirColor,
selectedTafsirTextColor:
selectedTafsirTextColor ?? this.selectedTafsirTextColor,
unSelectedTafsirTextColor:
unSelectedTafsirTextColor ?? this.unSelectedTafsirTextColor,
selectedTafsirBorderColor:
selectedTafsirBorderColor ?? this.selectedTafsirBorderColor,
unSelectedTafsirBorderColor:
unSelectedTafsirBorderColor ?? this.unSelectedTafsirBorderColor,
backgroundColor: backgroundColor ?? this.backgroundColor,
textColor: textColor ?? this.textColor,
tafsirBackgroundColor:
tafsirBackgroundColor ?? this.tafsirBackgroundColor,
dividerColor: dividerColor ?? this.dividerColor,
fontSize: fontSize ?? this.fontSize,
footnotesName: footnotesName ?? this.footnotesName,
horizontalMargin: horizontalMargin ?? this.horizontalMargin,
verticalMargin: verticalMargin ?? this.verticalMargin,
tafsirIsEmptyNote: tafsirIsEmptyNote ?? this.tafsirIsEmptyNote,
heightOfBottomSheet: heightOfBottomSheet ?? this.heightOfBottomSheet,
widthOfBottomSheet: widthOfBottomSheet ?? this.widthOfBottomSheet,
changeTafsirDialogHeight:
changeTafsirDialogHeight ?? this.changeTafsirDialogHeight,
changeTafsirDialogWidth:
changeTafsirDialogWidth ?? this.changeTafsirDialogWidth,
fontSizeIconWidget: fontSizeIconWidget ?? this.fontSizeIconWidget,
fontSizeBackgroundColor:
fontSizeBackgroundColor ?? this.fontSizeBackgroundColor,
fontSizeThumbColor: fontSizeThumbColor ?? this.fontSizeThumbColor,
fontSizeActiveTrackColor:
fontSizeActiveTrackColor ?? this.fontSizeActiveTrackColor,
fontSizeInactiveTrackColor:
fontSizeInactiveTrackColor ?? this.fontSizeInactiveTrackColor,
fontSizeIconSize: fontSizeIconSize ?? this.fontSizeIconSize,
);
}