BaseAvatar constructor

const BaseAvatar({
  1. Key? key,
  2. String name = '',
  3. double size = 48,
  4. Color? color,
  5. Color? background,
  6. double fontSize = 22,
  7. BorderRadius? borderRadius,
  8. VoidCallback? onPressed,
})

Implementation

const BaseAvatar({
  super.key,
  this.name = '',
  this.size = 48,
  this.color,
  this.background,
  this.fontSize = 22,
  this.borderRadius,
  this.onPressed,
});