copyWith method

  1. @override
VDropdownIconStyle copyWith({
  1. Color? dropDownColor,
  2. dynamic dropdownBorderColor,
  3. dynamic backgroundSplashColor,
  4. dynamic isSecDisabledButtonColor,
  5. dynamic disabledButtonColor,
  6. dynamic isSecTappedButtonColor,
  7. dynamic tappedButtonColor,
  8. dynamic buttonDefaultColor,
  9. dynamic defaultSecButtonColor,
  10. dynamic isSecDisabledBorderColor,
  11. dynamic disabledIconColor,
  12. dynamic isSecDefaultBorderColor,
  13. dynamic defaultIconColor,
  14. dynamic disabledBorderColor,
  15. dynamic isSecDisabledIconColor,
  16. dynamic isSecDefaultIconColor,
  17. dynamic defaultBorderColor,
  18. double? dropdownBorderRadius,
  19. dynamic bigIconSize,
  20. dynamic defaultIconSize,
  21. TextStyle? dropdownTextStyle,
})
override

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

Implementation

@override
VDropdownIconStyle copyWith({
  Color? dropDownColor,
  dropdownBorderColor,
  backgroundSplashColor,
  isSecDisabledButtonColor,
  disabledButtonColor,
  isSecTappedButtonColor,
  tappedButtonColor,
  buttonDefaultColor,
  defaultSecButtonColor,
  isSecDisabledBorderColor,
  disabledIconColor,
  isSecDefaultBorderColor,
  defaultIconColor,
  disabledBorderColor,
  isSecDisabledIconColor,
  isSecDefaultIconColor,
  defaultBorderColor,
  double? dropdownBorderRadius,
  bigIconSize,
  defaultIconSize,
  TextStyle? dropdownTextStyle,
}) =>
    VDropdownIconStyle(
      backgroundSplashColor: backgroundSplashColor ?? this.backgroundSplashColor,
      dropdownBorderColor: dropdownBorderColor ?? this.dropdownBorderColor,
      dropDownColor: dropDownColor ?? this.dropDownColor,
      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,
      disabledIconColor: disabledIconColor ?? this.disabledIconColor,
      defaultIconColor: defaultIconColor ?? this.defaultIconColor,
      isSecDefaultBorderColor: isSecDefaultBorderColor ?? this.isSecDefaultBorderColor,
      disabledBorderColor: disabledBorderColor ?? this.disabledBorderColor,
      defaultBorderColor: defaultBorderColor ?? this.defaultBorderColor,
      isSecDisabledIconColor: isSecDisabledIconColor ?? this.isSecDisabledIconColor,
      isSecDefaultIconColor: isSecDefaultIconColor ?? this.isSecDefaultIconColor,
      dropdownTextStyle: dropdownTextStyle ?? this.dropdownTextStyle,
      dropdownBorderRadius: dropdownBorderRadius ?? this.dropdownBorderRadius,
      bigIconSize: bigIconSize ?? this.bigIconSize,
      defaultIconSize: defaultIconSize ?? this.defaultIconSize,
    );