copyWith method
VSelectStyle
copyWith({
- Color? backgroundColor,
- dynamic splashColor,
- dynamic iconColor,
- dynamic dropDownBorderColor,
- dynamic bottomBarColor,
- dynamic borderColor,
- dynamic labelTextColor,
- dynamic buttonTextColor,
- dynamic validateTextColor,
- dynamic errorIconColor,
- dynamic dropdownColor,
- dynamic borderErrorColor,
- TextStyle? headerTitleTextStyle,
- dynamic labelTextStyle,
- dynamic validateTextStyle,
- double? borderRadius,
- dynamic dropDownElevation,
- dynamic dropDownBorderRadius,
- dynamic buttonHeight,
- dynamic buttonWidth,
- dynamic dropdownWidth,
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
VSelectStyle copyWith({
Color? backgroundColor,
splashColor,
iconColor,
dropDownBorderColor,
bottomBarColor,
borderColor,
labelTextColor,
buttonTextColor,
validateTextColor,
errorIconColor,
dropdownColor,
borderErrorColor,
TextStyle? headerTitleTextStyle,
labelTextStyle,
validateTextStyle,
double? borderRadius,
dropDownElevation,
dropDownBorderRadius,
buttonHeight,
buttonWidth,
dropdownWidth,
}) =>
VSelectStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
splashColor: splashColor ?? this.splashColor,
iconColor: iconColor ?? this.iconColor,
dropDownBorderColor: dropDownBorderColor ?? this.dropDownBorderColor,
bottomBarColor: bottomBarColor ?? this.bottomBarColor,
borderColor: borderColor ?? this.borderColor,
labelTextColor: labelTextColor ?? this.labelTextColor,
buttonTextColor: buttonTextColor ?? this.buttonTextColor,
validateTextColor: validateTextColor ?? this.validateTextColor,
errorIconColor: errorIconColor ?? this.errorIconColor,
dropdownColor: dropdownColor ?? this.dropdownColor,
borderErrorColor: borderErrorColor ?? this.borderErrorColor,
borderRadius: borderRadius ?? this.borderRadius,
dropDownElevation: dropDownElevation ?? this.dropDownElevation,
dropDownBorderRadius: dropDownBorderRadius ?? this.dropDownBorderRadius,
buttonHeight: buttonHeight ?? this.buttonHeight,
buttonWidth: buttonWidth ?? this.buttonWidth,
dropdownWidth: dropdownWidth ?? this.dropdownWidth,
headerTitleTextStyle: headerTitleTextStyle ?? this.headerTitleTextStyle,
);