copyWith method

IndicatorShape copyWith({
  1. double? width,
  2. double? height,
  3. BorderRadius? borderRadius,
})

Implementation

IndicatorShape copyWith({
  double? width,
  double? height,
  BorderRadius? borderRadius,
}) {
  return IndicatorShape(
    width: width ?? this.width,
    height: height ?? this.height,
    borderRadius: borderRadius ?? this.borderRadius,
  );
}