Skip to content

BoxConstraints forces an infinite height. #82

@Xgamefactory

Description

@Xgamefactory
 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions