border radius of image not curving

I am returning photos in a grid view, and according to docs, this is the correct method to curve the edges of the photos, instead of them being 90 degree angles.

However, when I test out the application, the angles are not curving.

Any thoughts?

                          shrinkWrap: true,
                          crossAxisCount: 2,
                          childAspectRatio: (50 / 80),
                          padding: const EdgeInsets.all(3.0),
                              List.generate(widget.imageArray.length, (index) {
                            return Container(
                                child: Image.file(widget.imageArray[index]),
                                decoration: BoxDecoration(
                                    borderRadius: BorderRadius.all(

Read more here:

Content Attribution

This content was originally published by KirtM9 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: