Answers for "circle image flutter"

4

circle avatar from image asset flutter

CircleAvatar(
    radius: 16.0,
    child: ClipRRect(
        child: Image.asset('profile-generic.png'),
        borderRadius: BorderRadius.circular(50.0),
    ),
),
Posted by: Guest on January-26-2021
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
4

how to make an image contained in circle avatar in flutter

CircleAvatar(
                radius: 30.0,
                backgroundImage:
                    NetworkImage("${snapshot.data.hitsList[index].previewUrl}"),
                backgroundColor: Colors.transparent,
              )
Posted by: Guest on June-08-2020

Browse Popular Code Answers by Language