circle avatar from image asset flutter
CircleAvatar(
radius: 16.0,
child: ClipRRect(
child: Image.asset('profile-generic.png'),
borderRadius: BorderRadius.circular(50.0),
),
),
circle avatar from image asset flutter
CircleAvatar(
radius: 16.0,
child: ClipRRect(
child: Image.asset('profile-generic.png'),
borderRadius: BorderRadius.circular(50.0),
),
),
Flutter give image rounded corners
ClipRRect(
borderRadius: BorderRadius.circular(8.0),
child: Image.network(
subject['images']['large'],
height: 150.0,
width: 100.0,
),
)
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,
)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us