ChatAvatarView constructor
const
ChatAvatarView({
- Key? key,
- bool visible = true,
- double? size,
- dynamic onTap()?,
- String? url,
- CustomAvatarBuilder? builder,
- dynamic onLongPress()?,
- bool isCircle = false,
- BorderRadius? borderRadius,
- String? text,
- TextStyle? textStyle,
- bool lowMemory = false,
- bool isNineGrid = false,
- List<
String> nineGridUrls = const [], - bool isUserGroup = false,
- 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);