RectangleSwiperIndicator constructor

RectangleSwiperIndicator({
  1. EdgeInsetsGeometry? padding,
  2. double spacing = 4.0,
  3. double itemWidth = 24.0,
  4. double itemHeight = 2.0,
  5. Color itemColor = Colors.white,
  6. Color? selectedItemColor,
})

Implementation

RectangleSwiperIndicator({
  EdgeInsetsGeometry? padding,
  double spacing = 4.0,
  double itemWidth = 24.0,
  double itemHeight = 2.0,
  Color itemColor = Colors.white,
  Color? selectedItemColor,
}) : super(
  padding: padding,
  spacing: spacing,
  itemColor: itemColor,
  itemWidth: itemWidth,
  itemHeight: itemHeight,
  itemActiveColor: selectedItemColor,
  itemShape: BoxShape.rectangle,
);