Home > Back-end >  I would like to remove the white square border behind the ClipOval
I would like to remove the white square border behind the ClipOval

Time:07-10

I am using ClipOVal. Currently, I would like to remove the white square boarder behind the ClipOval.

enter image description here

              Card(fit: BoxFit.cover,
                       child: Column(
                              children: [
                                Flexible(
                                  flex: 5,child:
                                ClipOval(
                                  child: CachedNetworkImage(
                                    imageUrl: CONSTANTS.server  
                                        "/mytutor/mobile/assets/products/"  
                                        widget.user.userId.toString()  
                                        '.jpg',
                                        width:350,
                                        height:350,
                                    fit: BoxFit.cover,
                                  ),
                                )),
                              ],
                            )),

CodePudding user response:

You can either remove card and add Container and add color: Colors.transparent or add the following to the card

color: Colors.transparent,
elevation: 0

The color is from the card thats above thr Column

  • Related