ChatAvatar class

Avatar of a Chat.

Inheritance
Annotations

Constructors

ChatAvatar({required ImageFile full, required ImageFile big, required ImageFile medium, required ImageFile small, required ImageFile original, CropArea? crop})
ChatAvatar.fromJson(Map<String, dynamic> json)
Constructs a ChatAvatar from the provided json.
factory

Properties

big ImageFile
Big view ImageFile of this UserAvatar, square-cropped to its minimum dimension (either width or height), and scaled to 250pxx250px.
finalinherited
crop CropArea?
CropArea applied to this Avatar.
finalinherited
full ImageFile
Full-sized ImageFile representing this UserAvatar, keeping the original dimensions.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
medium ImageFile
Medium view ImageFile of this UserAvatar, square-cropped to its minimum dimension (either width or height), and scaled to 100pxx100px.
finalinherited
original ImageFile
Original ImageFile representing this UserAvatar.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
small ImageFile
Small view ImageFile of this UserAvatar, square-cropped to its minimum dimension (either width or height), and scaled to 46pxx46px.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a Map representing this ChatAvatar.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited