dynamic_height_grid_view

Creator: coderz1093

Last updated:

Add to Cart

Description:

dynamic height grid view

dynamic_height_grid_view #

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.
}
),
);
}
}
copied to clipboard

Use SliverDynamicHeightGridView for CustomScrollView

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.