copyWith method

InputBorderStyle copyWith({
  1. BorderType? borderType,
  2. BorderRadius? radius,
  3. Color? color,
  4. double? width,
  5. double? gapPadding,
  6. BorderStyle? style,
  7. double? strokeAlign,
})

Implementation

InputBorderStyle copyWith({
  BorderType? borderType,
  BorderRadius? radius,
  Color? color,
  double? width,
  double? gapPadding,
  BorderStyle? style,
  double? strokeAlign,
}) =>
    InputBorderStyle(
        borderType: borderType ?? this.borderType,
        radius: radius ?? this.radius,
        color: color ?? this.color,
        width: width ?? this.width,
        gapPadding: gapPadding ?? this.gapPadding,
        style: style ?? this.style,
        strokeAlign: strokeAlign ?? this.strokeAlign);