copyWith method
WordInfoBottomSheetStyle
copyWith({
- Color? backgroundColor,
- double? borderRadius,
- EdgeInsetsGeometry? padding,
- double? maxHeightFactor,
- double? maxWidthFactor,
- double? handleWidth,
- double? handleHeight,
- EdgeInsetsGeometry? handleMargin,
- double? handleBorderRadius,
- Color? handleColor,
- String? titleText,
- TextStyle? titleTextStyle,
- EdgeInsetsGeometry? titlePadding,
- String? tabRecitationsText,
- String? tabTasreefText,
- String? tabEerabText,
- String? downloadText,
- String? downloadingText,
- String? loadErrorText,
- String? noDataText,
- TextStyle? tabLabelStyle,
- EdgeInsetsGeometry? tabIndicatorPadding,
- double? tabIndicatorRadius,
- Color? tabIndicatorColor,
- double? dividerHeight,
- EdgeInsetsGeometry? contentPadding,
- TextStyle? bodyTextStyle,
- TextStyle? buttonTextStyle,
- TextStyle? progressTextStyle,
- double? verticalMargin,
- double? horizontalMargin,
- EdgeInsetsGeometry? innerContainerPadding,
- Color? tafsirBackgroundColor,
- double? innerContainerBorderRadius,
- Color? innerShadowColor,
- double? innerShadowBlurRadius,
- Offset? innerShadowOffset,
- Color? innerBorderColor,
- double? innerBorderWidth,
- Color? textBackgroundColor,
- Widget? handleWidget,
- Color? audioButtonColor,
- Color? audioButtonActiveColor,
- double? audioButtonSize,
- String? playWordTooltip,
- String? playAyahWordsTooltip,
- bool? withTitle,
- bool? withWordText,
- bool? withWordAudioButton,
- Color? tabLabelColor,
- Color? tabUnselectedLabelColor,
- Color? tabBackgroundColor,
- double? tabBarHeight,
- List<
BoxShadow> ? innerContainerBoxShadow, - WordInfoBottomSheetStyleCustomChildBuilder? downloadButtonWidget,
Implementation
WordInfoBottomSheetStyle copyWith({
Color? backgroundColor,
double? borderRadius,
EdgeInsetsGeometry? padding,
double? maxHeightFactor,
double? maxWidthFactor,
double? handleWidth,
double? handleHeight,
EdgeInsetsGeometry? handleMargin,
double? handleBorderRadius,
Color? handleColor,
String? titleText,
TextStyle? titleTextStyle,
EdgeInsetsGeometry? titlePadding,
String? tabRecitationsText,
String? tabTasreefText,
String? tabEerabText,
String? unavailableDataTemplate,
String? downloadText,
String? downloadingText,
String? loadErrorText,
String? noDataText,
TextStyle? tabLabelStyle,
EdgeInsetsGeometry? tabIndicatorPadding,
double? tabIndicatorRadius,
Color? tabIndicatorColor,
double? dividerHeight,
EdgeInsetsGeometry? contentPadding,
TextStyle? bodyTextStyle,
TextStyle? buttonTextStyle,
TextStyle? progressTextStyle,
double? verticalMargin,
double? horizontalMargin,
EdgeInsetsGeometry? innerContainerPadding,
Color? tafsirBackgroundColor,
double? innerContainerBorderRadius,
Color? innerShadowColor,
double? innerShadowBlurRadius,
Offset? innerShadowOffset,
Color? innerBorderColor,
double? innerBorderWidth,
Color? textBackgroundColor,
Widget? handleWidget,
Color? audioButtonColor,
Color? audioButtonActiveColor,
double? audioButtonSize,
String? playWordTooltip,
String? playAyahWordsTooltip,
bool? withTitle,
bool? withWordText,
bool? withWordAudioButton,
Color? tabLabelColor,
Color? tabUnselectedLabelColor,
Color? tabBackgroundColor,
double? tabBarHeight,
List<BoxShadow>? innerContainerBoxShadow,
WordInfoBottomSheetStyleCustomChildBuilder? downloadButtonWidget,
}) {
return WordInfoBottomSheetStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
borderRadius: borderRadius ?? this.borderRadius,
padding: padding ?? this.padding,
maxHeightFactor: maxHeightFactor ?? this.maxHeightFactor,
maxWidthFactor: maxWidthFactor ?? this.maxWidthFactor,
handleWidth: handleWidth ?? this.handleWidth,
handleHeight: handleHeight ?? this.handleHeight,
handleMargin: handleMargin ?? this.handleMargin,
handleBorderRadius: handleBorderRadius ?? this.handleBorderRadius,
handleColor: handleColor ?? this.handleColor,
titleText: titleText ?? this.titleText,
titleTextStyle: titleTextStyle ?? this.titleTextStyle,
titlePadding: titlePadding ?? this.titlePadding,
tabRecitationsText: tabRecitationsText ?? this.tabRecitationsText,
tabTasreefText: tabTasreefText ?? this.tabTasreefText,
tabEerabText: tabEerabText ?? this.tabEerabText,
unavailableDataTemplate:
unavailableDataTemplate ?? this.unavailableDataTemplate,
downloadText: downloadText ?? this.downloadText,
downloadingText: downloadingText ?? this.downloadingText,
loadErrorText: loadErrorText ?? this.loadErrorText,
noDataText: noDataText ?? this.noDataText,
tabLabelStyle: tabLabelStyle ?? this.tabLabelStyle,
tabIndicatorPadding: tabIndicatorPadding ?? this.tabIndicatorPadding,
tabIndicatorRadius: tabIndicatorRadius ?? this.tabIndicatorRadius,
tabIndicatorColor: tabIndicatorColor ?? this.tabIndicatorColor,
dividerHeight: dividerHeight ?? this.dividerHeight,
contentPadding: contentPadding ?? this.contentPadding,
bodyTextStyle: bodyTextStyle ?? this.bodyTextStyle,
buttonTextStyle: buttonTextStyle ?? this.buttonTextStyle,
progressTextStyle: progressTextStyle ?? this.progressTextStyle,
verticalMargin: verticalMargin ?? this.verticalMargin,
horizontalMargin: horizontalMargin ?? this.horizontalMargin,
innerContainerPadding:
innerContainerPadding ?? this.innerContainerPadding,
tafsirBackgroundColor:
tafsirBackgroundColor ?? this.tafsirBackgroundColor,
innerContainerBorderRadius:
innerContainerBorderRadius ?? this.innerContainerBorderRadius,
innerShadowColor: innerShadowColor ?? this.innerShadowColor,
innerShadowBlurRadius:
innerShadowBlurRadius ?? this.innerShadowBlurRadius,
innerShadowOffset: innerShadowOffset ?? this.innerShadowOffset,
innerBorderColor: innerBorderColor ?? this.innerBorderColor,
innerBorderWidth: innerBorderWidth ?? this.innerBorderWidth,
textBackgroundColor: textBackgroundColor ?? this.textBackgroundColor,
handleWidget: handleWidget ?? this.handleWidget,
audioButtonColor: audioButtonColor ?? this.audioButtonColor,
audioButtonActiveColor:
audioButtonActiveColor ?? this.audioButtonActiveColor,
audioButtonSize: audioButtonSize ?? this.audioButtonSize,
playWordTooltip: playWordTooltip ?? this.playWordTooltip,
playAyahWordsTooltip: playAyahWordsTooltip ?? this.playAyahWordsTooltip,
withTitle: withTitle ?? this.withTitle,
withWordText: withWordText ?? this.withWordText,
withWordAudioButton: withWordAudioButton ?? this.withWordAudioButton,
tabLabelColor: tabLabelColor ?? this.tabLabelColor,
tabUnselectedLabelColor:
tabUnselectedLabelColor ?? this.tabUnselectedLabelColor,
tabBackgroundColor: tabBackgroundColor ?? this.tabBackgroundColor,
tabBarHeight: tabBarHeight ?? this.tabBarHeight,
innerContainerBoxShadow:
innerContainerBoxShadow ?? this.innerContainerBoxShadow,
downloadButtonWidget: downloadButtonWidget ?? this.downloadButtonWidget,
);
}