Last updated:
0 purchases
image grid layout
Image Grid #
A simple flutter widget that displays Image widgets in a lively layout.
Features #
Layout a grid of images with varying sizes.
The images in the same row are scaled to the same height.
Randomly assign a different number of images to each row.
Getting started #
TODO
Usage #
Simply pass a List<Image> to the ImageGrid constructor. Set BitFit.fill for the Image to enable image stretching.
ImageGrid(
images: imageUrls
.map((e) => Image.network(
e,
fit: BoxFit.fill,
))
.toList(),
minItemPerRow: 2,
maxItemPerRow: 3,
)
copied to clipboard
Check out the example for the full demo.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.