dynamic_height_grid_view 0.0.1+1 copy "dynamic_height_grid_view: ^0.0.1+1" to clipboard
dynamic_height_grid_view: ^0.0.1+1 copied to clipboard

outdated

GridView with dynamic height. No need to specify aspectRatio to the grid.

dynamic_height_grid_view #

pub package License: MIT

GridView with dynamic height. No need to use aspectRatio.

Usage #

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: DynamicHeightGridView(
        itemCount: 120,
        crossAxisCount: 3,
        crossAxisSpacing: 10,
        mainAxisSpacing: 10,
        builder: (ctx, index) {
          /// return your widget here.
        }
      ),
    );
  }
}
  • Use SliverDynamicHeightGridView for CustomScrollView

Additional information #

TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.

99
likes
0
pub points
96%
popularity

Publisher

verified publisherbookm.me

GridView with dynamic height. No need to specify aspectRatio to the grid.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on dynamic_height_grid_view