ProfileAvatar constructor

ProfileAvatar({
  1. Key? key,
  2. double radius = 20,
  3. Color borderColor = Colors.transparent,
  4. double borderRadius = 0,
  5. TextStyle textStyle = const TextStyle(color: CupertinoColors.white, fontSize: 11, fontWeight: FontWeight.w500),
  6. Function? onClick,
})

Implementation

ProfileAvatar({
  Key? key,
  this.radius = 20,
  this.borderColor = Colors.transparent,
  this.borderRadius = 0,
  this.textStyle = const TextStyle(
      color: CupertinoColors.white,
      fontSize: 11,
      fontWeight: FontWeight.w500),
  this.onClick,
}) : super(key: key);