copyWith method

WordInfoBottomSheetStyle copyWith({
  1. Color? backgroundColor,
  2. double? borderRadius,
  3. EdgeInsetsGeometry? padding,
  4. double? maxHeightFactor,
  5. double? maxWidthFactor,
  6. double? handleWidth,
  7. double? handleHeight,
  8. EdgeInsetsGeometry? handleMargin,
  9. double? handleBorderRadius,
  10. Color? handleColor,
  11. String? titleText,
  12. TextStyle? titleTextStyle,
  13. EdgeInsetsGeometry? titlePadding,
  14. String? tabRecitationsText,
  15. String? tabTasreefText,
  16. String? tabEerabText,
  17. String? unavailableDataTemplate,
  18. String? downloadText,
  19. String? downloadingText,
  20. String? loadErrorText,
  21. String? noDataText,
  22. TextStyle? tabLabelStyle,
  23. EdgeInsetsGeometry? tabIndicatorPadding,
  24. double? tabIndicatorRadius,
  25. Color? tabIndicatorColor,
  26. double? dividerHeight,
  27. EdgeInsetsGeometry? contentPadding,
  28. TextStyle? bodyTextStyle,
  29. TextStyle? buttonTextStyle,
  30. TextStyle? progressTextStyle,
  31. double? verticalMargin,
  32. double? horizontalMargin,
  33. EdgeInsetsGeometry? innerContainerPadding,
  34. Color? tafsirBackgroundColor,
  35. double? innerContainerBorderRadius,
  36. Color? innerShadowColor,
  37. double? innerShadowBlurRadius,
  38. Offset? innerShadowOffset,
  39. Color? innerBorderColor,
  40. double? innerBorderWidth,
  41. Color? textBackgroundColor,
  42. Widget? handleWidget,
  43. Color? audioButtonColor,
  44. Color? audioButtonActiveColor,
  45. double? audioButtonSize,
  46. String? playWordTooltip,
  47. String? playAyahWordsTooltip,
  48. bool? withTitle,
  49. bool? withWordText,
  50. bool? withWordAudioButton,
  51. Color? tabLabelColor,
  52. Color? tabUnselectedLabelColor,
  53. Color? tabBackgroundColor,
  54. double? tabBarHeight,
  55. List<BoxShadow>? innerContainerBoxShadow,
  56. 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,
  );
}