Add image with circular shape from corners in Flutter

101

Container(
    height: 200.0,
    child: ClipRRect(
        borderRadius: BorderRadius.circular(15.0),
        child: Image.network(
            "https://placeimg.com/640/480/any",
            fit: BoxFit.cover,
        ),
    ),
),

Comments

Submit
0 Comments