circleAvatar method

Widget circleAvatar({
  1. double radius = 24,
  2. Color backgroundColor = Colors.grey,
  3. EdgeInsets? padding,
  4. ImageProvider<Object>? backgroundImage,
})

Implementation

Widget circleAvatar({
  double radius = 24,
  Color backgroundColor = Colors.grey,
  EdgeInsets? padding,
  ImageProvider? backgroundImage,
}) => CircleAvatar(
  radius: radius,
  backgroundColor: backgroundColor,
  backgroundImage: backgroundImage,
  child: Padding(padding: padding ?? EdgeInsets.zero, child: this),
);