-
Notifications
You must be signed in to change notification settings - Fork 734
Open
Description
BoxConstraints forces an infinite height.
I/flutter ( 3530): These invalid constraints were provided to RenderSemanticsAnnotations's layout() function by the following function, which probably computed the invalid constraints in question:
I/flutter ( 3530): RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:259:13)
getting this error with your example
return Swiper(
itemBuilder: (BuildContext context, int index) {
return Image.network(
"http://via.placeholder.com/288x188",
fit: BoxFit.fill,
);
},
itemCount: 10,
itemWidth: 300.0,
layout: SwiperLayout.STACK,
);
Metadata
Metadata
Assignees
Labels
No labels