Answers for "how to give a border radius to a network image"

11

Flutter give image rounded corners

ClipRRect(
    borderRadius: BorderRadius.circular(8.0),
    child: Image.network(
        subject['images']['large'],
        height: 150.0,
        width: 100.0,
    ),
)
Posted by: Guest on April-15-2020
3

round asset image corners in flutter

ClipRRect(
     borderRadius: BorderRadius.circular(8.0),
     child: Image.asset(
       'assets/cat.jpg',
        width: 110.0,
        height: 110.0,
        fit: BoxFit.fill,
     ),
 ),
Posted by: Guest on November-21-2020

Code answers related to "how to give a border radius to a network image"

Browse Popular Code Answers by Language