CircleAvatar constructor

const CircleAvatar(
  1. {Key key,
  2. Widget child,
  3. Color backgroundColor,
  4. ImageProvider backgroundImage,
  5. Color foregroundColor,
  6. double radius,
  7. double minRadius,
  8. 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);