FastAvatar constructor
const
FastAvatar({
- Key? key,
- required String path,
- FastImgType type = FastImgType.network,
- double height = 60,
- double width = 60,
use this widget to show a avatar
example:
FastAvatar(
path: 'https://avatars.githubusercontent.com/u/13901776?v=4',
),
Implementation
const FastAvatar({
super.key,
required this.path,
this.type = FastImgType.network,
this.height = 60,
this.width = 60,
});