-
Notifications
You must be signed in to change notification settings - Fork 722
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
How to add item image from asset #60
Comments
i want to know too |
anyone? |
sorry for bad code. |
hi i want to add 4 custom image from asset.
but i dont know how to implement this.
new Swiper( autoplay: true, itemBuilder: (BuildContext context, int index) { return InkWell( onTap: (){ print("aaaaa"); }, child: new Image.asset( "img/dummy.jpg", fit: BoxFit.fill, ), ); }, itemCount: 4, viewportFraction: 0.8, scale: 0.9, ), ),
the code just showing 1 image from asset.
how to show more than 1 image in this swipper ?
also an implementation using indicator ._.
thanks
The text was updated successfully, but these errors were encountered: