CustomCircleAvatar constructor

const CustomCircleAvatar({
  1. Key? key,
  2. String? image,
  3. double size = 50,
  4. bool nonAsset = false,
  5. Uint8List? byteImage,
})

A customized circular avatar to display the profile picture with a small border takes in @param image for the asset image @param size to define the size of the avatar @param nonAsset if the image is coming over the network @param byteImage to display the image from the netwok

Implementation

const CustomCircleAvatar({
  Key? key,
  this.image,
  this.size = 50,
  this.nonAsset = false,
  this.byteImage,
}) : super(key: key);