IndicatorShape constructor
IndicatorShape({
- required double width,
- required double height,
- BorderRadius? borderRadius,
Creates a shape that can be used to customize the appearance
of the indicators in a PageIndicator
.
Implementation
IndicatorShape({
required this.width,
required this.height,
BorderRadius? borderRadius,
}) : borderRadius = borderRadius ??
BorderRadius.circular(
math.min(width, height),
);