copyWith method
VInputStyle
copyWith({
- Color? textFieldColor,
- dynamic topLabelDefaultColor,
- dynamic borderColor,
- dynamic thumbColor,
- dynamic trackColor,
- dynamic trackBorderColor,
- dynamic leadingIconColor,
- dynamic inputDisabledColor,
- dynamic inputDefaultColor,
- dynamic inputFocusedColor,
- dynamic errorBorderColor,
- dynamic containerColor,
- dynamic trailingIconColor,
- dynamic bottomBarErrorColor,
- dynamic bottomBarColor,
- dynamic counterErrorTextColor,
- dynamic counterTextColor,
- dynamic errorIconColor,
- dynamic errorTextColor,
- dynamic topLabelErrorTextColor,
- dynamic topLabelDisabledTextColor,
- dynamic topLabelFocusedTextColor,
- dynamic topLabelTextColor,
- dynamic borderErrorColor,
- dynamic borderDisabledColor,
- dynamic borderFocusedColor,
- dynamic borderDefaultColor,
- dynamic leadingPrefixColor,
- dynamic leadingIconErrorColor,
- dynamic leadingIconDisabledColor,
- dynamic leadingIconFocusedColor,
- dynamic leadingIconDefaultColor,
- dynamic trailingSuffixColor,
- dynamic trailingIconErrorColor,
- dynamic trailingIconDisabledColor,
- dynamic trailingIconFocusedColor,
- dynamic trailingIconDefaultColor,
- dynamic cursorColor,
- double? borderRadius,
- dynamic trackRadius,
- dynamic inputContainerHeight,
- TextStyle? topLabelTextStyle,
- dynamic inputTextStyle,
- dynamic errorTextStyle,
- dynamic counterTextStyle,
- dynamic validateErrorTextStyle,
- dynamic hintTextStyle,
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
VInputStyle copyWith({
Color? textFieldColor,
topLabelDefaultColor,
borderColor,
thumbColor,
trackColor,
trackBorderColor,
leadingIconColor,
inputDisabledColor,
inputDefaultColor,
inputFocusedColor,
errorBorderColor,
containerColor,
trailingIconColor,
bottomBarErrorColor,
bottomBarColor,
counterErrorTextColor,
counterTextColor,
errorIconColor,
errorTextColor,
topLabelErrorTextColor,
topLabelDisabledTextColor,
topLabelFocusedTextColor,
topLabelTextColor,
borderErrorColor,
borderDisabledColor,
borderFocusedColor,
borderDefaultColor,
leadingPrefixColor,
leadingIconErrorColor,
leadingIconDisabledColor,
leadingIconFocusedColor,
leadingIconDefaultColor,
trailingSuffixColor,
trailingIconErrorColor,
trailingIconDisabledColor,
trailingIconFocusedColor,
trailingIconDefaultColor,
cursorColor,
double? borderRadius,
trackRadius,
inputContainerHeight,
TextStyle? topLabelTextStyle,
inputTextStyle,
errorTextStyle,
counterTextStyle,
validateErrorTextStyle,
hintTextStyle,
}) =>
VInputStyle(
topLabelTextColor: topLabelTextColor ?? this.topLabelTextColor,
inputDefaultColor: inputDefaultColor ?? this.inputDefaultColor,
textFieldColor: textFieldColor ?? this.textFieldColor,
borderColor: borderColor ?? this.borderColor,
thumbColor: thumbColor ?? this.thumbColor,
trackColor: trackColor ?? this.trackColor,
trackBorderColor: trackBorderColor ?? this.trackBorderColor,
leadingIconColor: leadingIconColor ?? this.leadingIconColor,
inputDisabledColor: inputDisabledColor ?? this.inputDisabledColor,
errorBorderColor: errorBorderColor ?? this.errorBorderColor,
containerColor: containerColor ?? this.containerColor,
trailingIconColor: trailingIconColor ?? this.trailingIconColor,
bottomBarErrorColor: bottomBarErrorColor ?? this.bottomBarErrorColor,
bottomBarColor: bottomBarColor ?? this.bottomBarColor,
counterErrorTextColor:
counterErrorTextColor ?? this.counterErrorTextColor,
counterTextColor: counterTextColor ?? this.counterTextColor,
errorIconColor: errorIconColor ?? this.errorIconColor,
errorTextColor: errorTextColor ?? this.errorTextColor,
inputFocusedColor: inputFocusedColor ?? this.inputFocusedColor,
topLabelErrorTextColor:
topLabelErrorTextColor ?? this.topLabelErrorTextColor,
topLabelDisabledTextColor:
topLabelDisabledTextColor ?? this.topLabelDisabledTextColor,
topLabelFocusedTextColor:
topLabelFocusedTextColor ?? this.topLabelFocusedTextColor,
topLabelDefaultColor: topLabelDefaultColor ?? this.topLabelDefaultColor,
borderErrorColor: borderErrorColor ?? this.borderErrorColor,
borderDisabledColor: borderDisabledColor ?? this.borderDisabledColor,
borderFocusedColor: borderFocusedColor ?? this.borderFocusedColor,
borderDefaultColor: borderDefaultColor ?? this.borderDefaultColor,
leadingPrefixColor: leadingPrefixColor ?? this.leadingPrefixColor,
leadingIconErrorColor:
leadingIconErrorColor ?? this.leadingIconErrorColor,
leadingIconDisabledColor:
leadingIconDisabledColor ?? this.leadingIconDisabledColor,
leadingIconFocusedColor:
leadingIconFocusedColor ?? this.leadingIconFocusedColor,
leadingIconDefaultColor:
leadingIconDefaultColor ?? this.leadingIconDefaultColor,
trailingSuffixColor: trailingSuffixColor ?? this.trailingSuffixColor,
trailingIconErrorColor:
trailingIconErrorColor ?? this.trailingIconErrorColor,
trailingIconDisabledColor:
trailingIconDisabledColor ?? this.trailingIconDisabledColor,
trailingIconFocusedColor:
trailingIconFocusedColor ?? this.trailingIconFocusedColor,
trailingIconDefaultColor:
trailingIconDefaultColor ?? this.trailingIconDefaultColor,
cursorColor: cursorColor ?? this.cursorColor,
borderRadius: borderRadius ?? this.borderRadius,
trackRadius: trackRadius ?? this.trackRadius,
inputContainerHeight: inputContainerHeight ?? this.inputContainerHeight,
topLabelTextStyle: topLabelTextStyle ?? this.topLabelTextStyle,
inputTextStyle: inputTextStyle ?? this.inputTextStyle,
errorTextStyle: errorTextStyle ?? this.errorTextStyle,
counterTextStyle: counterTextStyle ?? this.counterTextStyle,
validateErrorTextStyle:
validateErrorTextStyle ?? this.validateErrorTextStyle,
hintTextStyle: hintTextStyle ?? this.hintTextStyle,
);