-
Notifications
You must be signed in to change notification settings - Fork 711
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
flutter_swiper: ^1.0.6里面的点击事件onTap怎么不执行啊.没反应 #17
Comments
最新版本修复了1.1.2 |
目前最新版本是1.1.3 |
哦哦,了解了 |
Open
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
class _ClassifyPage extends State {
@OverRide
Widget build(BuildContext context) {
return new Container(
width: MediaQuery
.of(context)
.size
.width,
height: 200.0,
child: new Swiper(
itemBuilder: _swiperBuilder,
itemCount: 2,
pagination: new SwiperPagination(
builder: DotSwiperPaginationBuilder(
color: Colors.white,
activeColor: Colors.red
),
margin: EdgeInsets.all(30.0)
),
control: new SwiperControl(
iconNext: null,
iconPrevious: null,
),
scrollDirection: Axis.horizontal,
autoplay: true,
onTap: (index) => print('点击了第个')
),
);
}
能帮我解答下么?
The text was updated successfully, but these errors were encountered: