11import 'package:flutter/gestures.dart' ;
2- import 'package:flutter/material.dart' ;
2+ import 'package:flutter/material.dart' hide CarouselController ;
33import 'package:flutter_carousel_widget/src/enums/carousel_page_changed_reason.dart' ;
44import 'package:flutter_carousel_widget/src/helpers/flutter_expandable_carousel_controller.dart' ;
55import 'package:flutter_carousel_widget/src/indicators/circular_slide_indicator.dart' ;
@@ -11,7 +11,7 @@ class ExpandableCarouselOptions {
1111 this .aspectRatio,
1212 this .viewportFraction = 0.9 ,
1313 this .initialPage = 0 ,
14- this .enableInfiniteScroll = false ,
14+ // this.enableInfiniteScroll = false,
1515 this .reverse = false ,
1616 this .autoPlay = false ,
1717 this .autoPlayInterval = const Duration (seconds: 5 ),
@@ -91,7 +91,7 @@ class ExpandableCarouselOptions {
9191 ///Determines if carousel should loop infinitely or be limited to item length.
9292 ///
9393 ///Defaults to true, i.e. infinite loop.
94- final bool enableInfiniteScroll;
94+ // final bool enableInfiniteScroll;
9595
9696 /// Whether or not to float `SlideIndicator` over `Carousel` .
9797 final bool floatingIndicator;
@@ -201,7 +201,7 @@ class ExpandableCarouselOptions {
201201 double ? aspectRatio,
202202 double ? viewportFraction,
203203 int ? initialPage,
204- bool ? enableInfiniteScroll,
204+ // bool? enableInfiniteScroll,
205205 bool ? reverse,
206206 bool ? autoPlay,
207207 Duration ? autoPlayInterval,
@@ -234,7 +234,7 @@ class ExpandableCarouselOptions {
234234 aspectRatio: aspectRatio ?? this .aspectRatio,
235235 viewportFraction: viewportFraction ?? this .viewportFraction,
236236 initialPage: initialPage ?? this .initialPage,
237- enableInfiniteScroll: enableInfiniteScroll ?? this .enableInfiniteScroll,
237+ // enableInfiniteScroll: enableInfiniteScroll ?? this.enableInfiniteScroll,
238238 reverse: reverse ?? this .reverse,
239239 autoPlay: autoPlay ?? this .autoPlay,
240240 autoPlayInterval: autoPlayInterval ?? this .autoPlayInterval,
0 commit comments