DottedPageView.builder constructor
DottedPageView.builder({
- Color dotColor = Colors.white38,
- Color dotActiveColor = Colors.white,
- Axis scrollDirection = Axis.horizontal,
- bool autoPlay = true,
- bool reverse = false,
- PageController? controller,
- ScrollPhysics? physics,
- bool pageSnapping = true,
- void onPageChanged()?,
- IndexedWidgetBuilder? itemBuilder,
- int itemCount = 0,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- bool allowImplicitScrolling = false,
- String? restorationId,
- Clip clipBehavior = Clip.hardEdge,
- Size? size,
- Key? key,
Implementation
DottedPageView.builder({
this.dotColor = Colors.white38,
this.dotActiveColor = Colors.white,
this.scrollDirection = Axis.horizontal,
this.autoPlay = true,
this.reverse = false,
PageController? controller,
this.physics,
this.pageSnapping = true,
this.onPageChanged,
this.itemBuilder,
this.itemCount = 0,
this.dragStartBehavior = DragStartBehavior.start,
this.allowImplicitScrolling = false,
this.restorationId,
this.clipBehavior = Clip.hardEdge,
this.size,
Key? key,
}) : _key = key,
controller = controller ?? PageController(),
super(key: null);