Avatar constructor

const Avatar({
  1. Key? key,
  2. String? avatar,
  3. String? name,
  4. double? fontSize,
  5. Color? nameColor = Colors.white,
  6. int? bgCode,
  7. double width = 40,
  8. double height = 40,
  9. double? radius,
})

Implementation

const Avatar(
    {Key? key,
    this.avatar,
    this.name,
    this.fontSize,
    this.nameColor = Colors.white,
    this.bgCode,
    this.width = 40,
    this.height = 40,
    this.radius})
    : super(key: key);