copyWith method

SimpleInputBorder copyWith({
  1. SimpleInputBorderStyle? style,
  2. Color? color,
  3. Color? errorColor,
  4. Color? focusedColor,
  5. Color? focusedErrorColor,
  6. Color? disabledColor,
  7. double? width,
  8. double? focusedWidth,
  9. BorderRadius? radius,
  10. BorderRadius? focusedRadius,
})

Implementation

SimpleInputBorder copyWith({
  SimpleInputBorderStyle? style,
  Color? color,
  Color? errorColor,
  Color? focusedColor,
  Color? focusedErrorColor,
  Color? disabledColor,
  double? width,
  double? focusedWidth,
  BorderRadius? radius,
  BorderRadius? focusedRadius,
}) =>
    SimpleInputBorder(
      style: style ?? this.style,
      color: color ?? this.color,
      errorColor: errorColor ?? this.errorColor,
      focusedColor: focusedColor ?? this.focusedColor,
      focusedErrorColor: focusedErrorColor ?? this.focusedErrorColor,
      disabledColor: disabledColor ?? this.disabledColor,
      width: width ?? this.width,
      focusedWidth: focusedWidth ?? this.focusedWidth,
      radius: radius ?? this.radius,
      focusedRadius: focusedRadius ?? this.focusedRadius,
    );