copyWith method

  1. @override
VInputStyle copyWith({
  1. Color? textFieldColor,
  2. dynamic topLabelDefaultColor,
  3. dynamic borderColor,
  4. dynamic thumbColor,
  5. dynamic trackColor,
  6. dynamic trackBorderColor,
  7. dynamic leadingIconColor,
  8. dynamic inputDisabledColor,
  9. dynamic inputDefaultColor,
  10. dynamic inputFocusedColor,
  11. dynamic errorBorderColor,
  12. dynamic containerColor,
  13. dynamic trailingIconColor,
  14. dynamic bottomBarErrorColor,
  15. dynamic bottomBarColor,
  16. dynamic counterErrorTextColor,
  17. dynamic counterTextColor,
  18. dynamic errorIconColor,
  19. dynamic errorTextColor,
  20. dynamic topLabelErrorTextColor,
  21. dynamic topLabelDisabledTextColor,
  22. dynamic topLabelFocusedTextColor,
  23. dynamic topLabelTextColor,
  24. dynamic borderErrorColor,
  25. dynamic borderDisabledColor,
  26. dynamic borderFocusedColor,
  27. dynamic borderDefaultColor,
  28. dynamic leadingPrefixColor,
  29. dynamic leadingIconErrorColor,
  30. dynamic leadingIconDisabledColor,
  31. dynamic leadingIconFocusedColor,
  32. dynamic leadingIconDefaultColor,
  33. dynamic trailingSuffixColor,
  34. dynamic trailingIconErrorColor,
  35. dynamic trailingIconDisabledColor,
  36. dynamic trailingIconFocusedColor,
  37. dynamic trailingIconDefaultColor,
  38. dynamic cursorColor,
  39. double? borderRadius,
  40. dynamic trackRadius,
  41. dynamic inputContainerHeight,
  42. TextStyle? topLabelTextStyle,
  43. dynamic inputTextStyle,
  44. dynamic errorTextStyle,
  45. dynamic counterTextStyle,
  46. dynamic validateErrorTextStyle,
  47. 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,
    );