RectangleSwiperIndicator constructor

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

Implementation

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