FastAvatar constructor

const FastAvatar({
  1. Key? key,
  2. required String path,
  3. FastImgType type = FastImgType.network,
  4. double height = 60,
  5. 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,
});