onCircleAvatar method

CircleAvatar onCircleAvatar({
  1. Color? backgroundColor,
  2. Color? foregroundColor,
  3. ImageProvider<Object>? backgroundImage,
  4. double? radius,
  5. double? minRadius,
  6. double? maxRadius,
})

Implementation

CircleAvatar onCircleAvatar({
  Color? backgroundColor,
  Color? foregroundColor,
  ImageProvider? backgroundImage,
  double? radius,
  double? minRadius,
  double? maxRadius,
}) {
  this.backgroundColor = backgroundColor ?? this.backgroundColor;
  this.backgroundImage = backgroundImage ?? this.backgroundImage;
  this.foregroundColor = foregroundColor ?? this.foregroundColor;
  this.radius = radius ?? this.radius;
  this.minRadius = minRadius ?? this.minRadius;
  this.maxRadius = maxRadius ?? this.maxRadius;
  return circleAvatar;
}