copyWith method

  1. @override
VDropdownTextButtonStyle copyWith({
  1. Color? dropDownColor,
  2. dynamic backgroundSplashColor,
  3. dynamic dropdownBorderColor,
  4. dynamic isSecDisabledButtonColor,
  5. dynamic disabledButtonColor,
  6. dynamic isSecTappedButtonColor,
  7. dynamic tappedButtonColor,
  8. dynamic buttonDefaultColor,
  9. dynamic defaultSecButtonColor,
  10. dynamic isSecDisabledBorderColor,
  11. dynamic isSecDefaultBorderColor,
  12. dynamic disabledBorderColor,
  13. dynamic defaultBorderColor,
  14. dynamic defaultIconColor,
  15. dynamic isSecDefaultIconColor,
  16. dynamic isSecDisabledIconColor,
  17. dynamic disabledIconColor,
  18. dynamic secBackgroundSplashColor,
  19. dynamic defaultFontColor,
  20. dynamic disabledFontColor,
  21. dynamic isSecDefaultFontColor,
  22. dynamic isSecDisabledFontColor,
  23. double? borderRadius,
  24. dynamic dropdownBorderRadius,
  25. dynamic bigButtonSize,
  26. dynamic defaultButtonSize,
  27. TextStyle? dropdownTextStyle,
  28. dynamic bigIconTextStyle,
  29. dynamic smallIconTextStyle,
})
override

Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.

Implementation

@override
VDropdownTextButtonStyle copyWith({
  Color? dropDownColor,
  backgroundSplashColor,
  dropdownBorderColor,
  isSecDisabledButtonColor,
  disabledButtonColor,
  isSecTappedButtonColor,
  tappedButtonColor,
  buttonDefaultColor,
  defaultSecButtonColor,
  isSecDisabledBorderColor,
  isSecDefaultBorderColor,
  disabledBorderColor,
  defaultBorderColor,
  defaultIconColor,
  isSecDefaultIconColor,
  isSecDisabledIconColor,
  disabledIconColor,
  secBackgroundSplashColor,
  defaultFontColor,
  disabledFontColor,
  isSecDefaultFontColor,
  isSecDisabledFontColor,
  double? borderRadius,
  dropdownBorderRadius,
  bigButtonSize,
  defaultButtonSize,
  TextStyle? dropdownTextStyle,
  bigIconTextStyle,
  smallIconTextStyle,
}) =>
    VDropdownTextButtonStyle(
      backgroundSplashColor: backgroundSplashColor ?? this.backgroundSplashColor,
      dropDownColor: dropDownColor ?? this.dropDownColor,
      dropdownBorderColor: dropdownBorderColor ?? this.dropdownBorderColor,
      isSecDisabledButtonColor: isSecDisabledButtonColor ?? this.isSecDisabledButtonColor,
      disabledButtonColor: disabledButtonColor ?? this.disabledButtonColor,
      isSecTappedButtonColor: isSecTappedButtonColor ?? this.isSecTappedButtonColor,
      tappedButtonColor: tappedButtonColor ?? this.tappedButtonColor,
      buttonDefaultColor: buttonDefaultColor ?? this.buttonDefaultColor,
      defaultSecButtonColor: defaultSecButtonColor ?? this.defaultSecButtonColor,
      isSecDisabledBorderColor: isSecDisabledBorderColor ?? this.isSecDisabledBorderColor,
      isSecDefaultBorderColor: isSecDefaultBorderColor ?? this.isSecDefaultBorderColor,
      disabledBorderColor: disabledBorderColor ?? this.disabledBorderColor,
      defaultBorderColor: defaultBorderColor ?? this.defaultBorderColor,
      defaultIconColor: defaultIconColor ?? this.defaultIconColor,
      isSecDefaultIconColor: isSecDefaultIconColor ?? this.isSecDefaultIconColor,
      isSecDisabledIconColor: isSecDisabledIconColor ?? this.isSecDisabledIconColor,
      disabledIconColor: disabledIconColor ?? this.disabledIconColor,
      defaultFontColor: defaultFontColor ?? this.defaultFontColor,
      disabledFontColor: disabledFontColor ?? this.disabledFontColor,
      isSecDefaultFontColor: isSecDefaultFontColor ?? this.isSecDefaultFontColor,
      isSecDisabledFontColor: isSecDisabledFontColor ?? this.isSecDisabledFontColor,
      secBackgroundSplashColor: secBackgroundSplashColor ?? this.secBackgroundSplashColor,
      dropdownTextStyle: dropdownTextStyle ?? this.dropdownTextStyle,
      bigIconTextStyle: bigIconTextStyle ?? this.bigIconTextStyle,
      smallIconTextStyle: smallIconTextStyle ?? this.smallIconTextStyle,
      borderRadius: borderRadius ?? this.borderRadius,
      dropdownBorderRadius: dropdownBorderRadius ?? this.dropdownBorderRadius,
      bigButtonSize: bigButtonSize ?? this.bigButtonSize,
      defaultButtonSize: defaultButtonSize ?? this.defaultButtonSize,
    );