CircleAvatar constructor

const CircleAvatar({Key key, Widget child, Color backgroundColor, ImageProvider backgroundImage, Color foregroundColor, double radius, double minRadius, double maxRadius })

Creates a circle that represents a user.

Implementation

const CircleAvatar({
  Key key,
  this.child,
  this.backgroundColor,
  this.backgroundImage,
  this.foregroundColor,
  this.radius,
  this.minRadius,
  this.maxRadius,
})  : assert(radius == null || (minRadius == null && maxRadius == null)),
      super(key: key);