ChatAvatarView constructor

const ChatAvatarView({
  1. Key? key,
  2. bool visible = true,
  3. double? size,
  4. dynamic onTap()?,
  5. String? url,
  6. CustomAvatarBuilder? builder,
  7. dynamic onLongPress()?,
  8. bool isCircle = false,
  9. BorderRadius? borderRadius,
  10. String? text,
  11. TextStyle? textStyle,
  12. bool lowMemory = false,
  13. bool isNineGrid = false,
  14. List<String> nineGridUrls = const [],
  15. bool isUserGroup = false,
  16. Color? color,
})

Implementation

const ChatAvatarView({
  Key? key,
  this.visible = true,
  this.size,
  this.onTap,
  this.url,
  this.builder,
  this.onLongPress,
  this.isCircle = false,
  this.borderRadius,
  this.text,
  this.textStyle,
  this.lowMemory = false,
  this.isNineGrid = false,
  this.nineGridUrls = const [],
  this.isUserGroup = false,
  this.color,
}) : super(key: key);