Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initialPage options is not working #468

Open
evferrer87 opened this issue Sep 3, 2024 · 0 comments
Open

initialPage options is not working #468

evferrer87 opened this issue Sep 3, 2024 · 0 comments

Comments

@evferrer87
Copy link

evferrer87 commented Sep 3, 2024

The initalPage option is not working and I am not able to set the page 2 as the default one.
When tun this code it always shows the first page.

Any idea about this? thanks

return Container( child: CarouselSlider( options: CarouselOptions( aspectRatio: 2.0, enlargeCenterPage: true, enableInfiniteScroll: false, initialPage: 1, autoPlay: false, ), items: [Text('1'), Text('2'), Text('3')], ));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant