We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 766dd5c + f08d0dd commit 830c3faCopy full SHA for 830c3fa
README.md
@@ -121,7 +121,7 @@ FlutterCarousel(
121
autoPlayAnimationDuration: const Duration(milliseconds: 800),
122
autoPlayCurve: Curves.fastOutSlowIn,
123
enlargeCenterPage: false,
124
- carouselController: CarouselController(),
+ controller: CarouselController(),
125
onPageChanged: callbackFunction,
126
pageSnapping: true,
127
scrollDirection: Axis.horizontal,
@@ -180,7 +180,7 @@ class CarouselDemo extends StatelessWidget {
180
items: child,
181
options: CarouselOptions(
182
autoPlay: false,
183
- carouselController: buttonCarouselController,
+ controller: buttonCarouselController,
184
enlargeCenterPage: true,
185
viewportFraction: 0.9,
186
aspectRatio: 2.0,
0 commit comments