Skip to content

Staggered GridView in Flutter #40856

@gurleensethi

Description

@gurleensethi

Use case

Why isn't there in-built support for a staggered grid view in Flutter?
This is a basic use case that is covered by almost any mobile framework.
For example, Android has a StaggeredGridLayoutManager for RecyclerView.
I don't want to rely on a 3rd party library for this type of UI constructs.

Activity

escamoteur

escamoteur commented on Sep 19, 2019

@escamoteur
Contributor

Could you elaborate what a StaggeredGridView would work?

added
frameworkflutter/packages/flutter repository. See also f: labels.
c: proposalA detailed proposal for a change to Flutter
c: new featureNothing broken; request for a new capability
on Sep 19, 2019
gurleensethi

gurleensethi commented on Sep 19, 2019

@gurleensethi
Author

Here is an image of what a Staggered Grid might look like.

staggered_grid

goderbauer

goderbauer commented on Sep 19, 2019

@goderbauer
Member

Looks like the community has already provided a package for this: https://pub.dev/packages/flutter_staggered_grid_view

gurleensethi

gurleensethi commented on Sep 19, 2019

@gurleensethi
Author

@goderbauer Yes I know, but as I mentioned, I don't want to rely on a 3rd party package for this functionality, as I believe this kind of functionality should be provided by the framework itself.

flutter_staggered_grid_view provides a really nice solution, but I think Flutter framework should have at least the basic support for a staggered grid.

escamoteur

escamoteur commented on Sep 19, 2019

@escamoteur
Contributor

@gurleensethi I fear if you want this soon you will have to go with the package :-( Btw Romain the author does good stuff

monnguyen2512

monnguyen2512 commented on Dec 4, 2019

@monnguyen2512

@escamoteur The performance of this package is very low :(

khalid-alsaleh-dev

khalid-alsaleh-dev commented on Oct 1, 2020

@khalid-alsaleh-dev

Any solutions for slow performance ?

zmtzawqlp

zmtzawqlp commented on Oct 2, 2020

@zmtzawqlp
Contributor

Any solutions for slow performance ?

try https://pub.dev/packages/waterfall_flow

khalid-alsaleh-dev

khalid-alsaleh-dev commented on Oct 2, 2020

@khalid-alsaleh-dev

@zmtzawqlp
Thank you so much bro !
This solution worked for me .

SirusCodes

SirusCodes commented on Feb 2, 2021

@SirusCodes
Contributor

This could be closed @Hixie #59582

5 remaining items

added
a: fidelityMatching the OEM platforms better
f: scrollingViewports, list views, slivers, etc.
on Jul 12, 2022
self-assigned this
on Jul 18, 2022
added
P1High-priority issues at the top of the work list
on Jul 20, 2022
added
P3Issues that are less important to the Flutter project
and removed
P1High-priority issues at the top of the work list
on Oct 28, 2022
percula

percula commented on Jan 26, 2023

@percula

I would love to see this added to the Flutter SDK. I've tried the flutter_staggered_grid_view package and on the surface it seems to work great. But after using it, I've found it has many bugs including this one that is preventing me from using the package.

Either this or #97544 would solve so many problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: fidelityMatching the OEM platforms betterc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: scrollingViewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework teamwould be a good packageSeparate Flutter package should be made for this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @337240552@goderbauer@letsar@gurleensethi@zmtzawqlp

      Issue actions

        Staggered GridView in Flutter · Issue #40856 · flutter/flutter