CircleSwiperIndicator constructor

CircleSwiperIndicator({
  1. EdgeInsetsGeometry? padding,
  2. double spacing = 6.0,
  3. double radius = 3.5,
  4. Color itemColor = Colors.white70,
  5. Color? itemActiveColor,
})

Implementation

CircleSwiperIndicator({
  EdgeInsetsGeometry? padding,
  double spacing = 6.0,
  double radius = 3.5,
  Color itemColor = Colors.white70,
  Color? itemActiveColor,
}) : super(
  padding: padding,
  spacing: spacing,
  itemColor: itemColor,
  itemWidth: radius * 2,
  itemHeight: radius * 2,
  itemActiveColor: itemActiveColor,
  itemShape: BoxShape.circle,
);