copyWith method
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,
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,
);