copyWith method

BubbleShapeBorder copyWith({
  1. BubbleDirection? direction,
  2. double? arrowHeight,
  3. double? arrowAngle,
  4. double? arrowQuadraticBezierLength,
  5. BubblePosition? position,
  6. BubbleBoxBorder? border,
  7. BorderRadius? radius,
  8. double? smooth,
  9. double? dashedWidth,
  10. double? dashedGap,
  11. Gradient? gradient,
})

copyWith the border

Implementation

BubbleShapeBorder copyWith({
  final BubbleDirection? direction,
  final double? arrowHeight,
  final double? arrowAngle,
  final double? arrowQuadraticBezierLength,
  final BubblePosition? position,
  final BubbleBoxBorder? border,
  final BorderRadius? radius,
  final double? smooth,
  final double? dashedWidth,
  final double? dashedGap,
  final Gradient? gradient,
}) {
  return BubbleShapeBorder(
    direction: direction ?? this.direction,
    arrowHeight: arrowHeight ?? this.arrowHeight,
    arrowAngle: arrowAngle ?? this.arrowAngle,
    arrowQuadraticBezierLength:
        arrowQuadraticBezierLength ?? this.arrowQuadraticBezierLength,
    position: position ?? this.position,
    border: border ?? this.border,
    radius: radius ?? this.radius,
    smooth: smooth ?? this.smooth,
  );
}