copyWith method

VoPinInputTheme copyWith({
  1. double? spacing,
  2. double? width,
  3. double? height,
  4. Color? backgroundColor,
  5. BorderRadius? borderRadius,
  6. Color? errorBorderColor,
  7. Color? focusBorderColor,
  8. double? borderWidth,
  9. InputBorder? border,
  10. TextStyle? textStyle,
  11. EdgeInsetsGeometry? padding,
  12. TextStyle? errorTextStyle,
})

Implementation

VoPinInputTheme copyWith({
  double? spacing,
  double? width,
  double? height,
  Color? backgroundColor,
  BorderRadius? borderRadius,
  Color? errorBorderColor,
  Color? focusBorderColor,
  double? borderWidth,
  InputBorder? border,
  TextStyle? textStyle,
  EdgeInsetsGeometry? padding,
  TextStyle? errorTextStyle,
}) => VoPinInputTheme(
  spacing: spacing ?? this.spacing,
  width: width ?? this.width,
  height: height ?? this.height,
  backgroundColor: backgroundColor ?? this.backgroundColor,
  borderRadius: borderRadius ?? this.borderRadius,
  errorBorderColor: errorBorderColor ?? this.errorBorderColor,
  focusBorderColor: focusBorderColor ?? this.focusBorderColor,
  borderWidth: borderWidth ?? this.borderWidth,
  border: border ?? this.border,
  textStyle: textStyle ?? this.textStyle,
  padding: padding ?? this.padding,
  errorTextStyle: errorTextStyle ?? this.errorTextStyle,
);