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

ListView content will be stretched #145283

Closed
JackieChanKG opened this issue Mar 17, 2024 · 2 comments
Closed

ListView content will be stretched #145283

JackieChanKG opened this issue Mar 17, 2024 · 2 comments
Labels
r: invalid Issue is closed as not valid

Comments

@JackieChanKG
Copy link

JackieChanKG commented Mar 17, 2024

Use case

ListView content will be stretched when it hits the bottom, how to solve it

Proposal

Scaffold(
      body: Container(
        width: size.width,
        height: size.height,
        child: ListView(
          physics: NeverScrollableScrollPhysics(),
          children: [
            Container(width: size.width,height: size.height,
            child: ListView.builder(
              shrinkWrap: true,
              physics: ClampingScrollPhysics(),
              itemCount: 20,
              itemBuilder: (context,index){
                return Container(width: size.width,height: 200,
                child: Text('new world'),);
              },
            ),
            )
          ],
          
        )
      ),
    );
@darshankawar darshankawar added the in triage Presently being triaged by the triage team label Mar 18, 2024
@darshankawar
Copy link
Member

@JackieChanKG
Your question is better suited for support channels like StackOverflow.
Closing from here, as this is more of a support question rather than bug report or feature request.

@darshankawar darshankawar closed this as not planned Won't fix, can't repro, duplicate, stale Mar 18, 2024
@darshankawar darshankawar added r: invalid Issue is closed as not valid and removed in triage Presently being triaged by the triage team labels Mar 18, 2024
Copy link

github-actions bot commented Apr 1, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
r: invalid Issue is closed as not valid
Projects
None yet
Development

No branches or pull requests

2 participants