copyWith method

FxPinInputTheme copyWith({
  1. double? spacing,
  2. Color? borderColor,
  3. Color? backgroundColor,
  4. Color? errorBorderColor,
  5. Color? focusBorderColor,
  6. TextStyle? textStyle,
  7. InputBorder? border,
  8. EdgeInsetsGeometry? padding,
})

Implementation

FxPinInputTheme copyWith({
  double? spacing,
  Color? borderColor,
  Color? backgroundColor,
  Color? errorBorderColor,
  Color? focusBorderColor,
  TextStyle? textStyle,
  InputBorder? border,
  EdgeInsetsGeometry? padding,
}) => FxPinInputTheme(
  spacing: spacing ?? this.spacing,
  borderColor: borderColor ?? this.borderColor,
  backgroundColor: backgroundColor ?? this.backgroundColor,
  errorBorderColor: errorBorderColor ?? this.errorBorderColor,
  focusBorderColor: focusBorderColor ?? this.focusBorderColor,
  textStyle: textStyle ?? this.textStyle,
  border: border ?? this.border,
  padding: padding ?? this.padding,
);