
Avatar

GFAvatar comes with different shapes , in which one of the default shape is circle. To place the image inside the avatar, image should be given in backgroundImage property.
import 'package:getwidget/getwidget.dart';GFAvatar(backgroundImage:NetworkImage(AvatarUrl);)

Standard GFAvatar is a avatar shape which has a slightly rounded corners.
import 'package:getwidget/getwidget.dart';GFAvatar(backgroundImage:NetworkImage(AvatarUrl);shape: GFAvatarShape.standard)

Square GFAvatar is a avatar shape which represents a square
import 'package:getwidget/getwidget.dart';GFAvatar(backgroundImage:NetworkImage(AvatarUrl);shape: GFAvatarShape.square)
| |
child | type of [Widget], which can have text , icon etc |
backgroundColor | GFColor or Color to fill the background of avatar |
foregroundColor | GFColor or Color to change the textColor inside the avatar |
radius | size of the avatar |
minRadius | minimum size of the avatar |
maxRadius | maximun size of the avatar |
size | size of the avatar i.e |
shape | shape of the avatar i.e, |
borderRadius | extra radius to avatar shapes, not applicable to circular avatar |