Avatar class abstract

Image representing a particular User or a Chat.

Specified as relative paths on a files storage. Prepend them with a files storage URL to obtain a link to the concrete image.

Implementers

Constructors

Avatar({required ImageFile full, required ImageFile big, required ImageFile medium, required ImageFile small, required ImageFile original, CropArea? crop})

Properties

big ImageFile
Big view ImageFile of this UserAvatar, square-cropped to its minimum dimension (either width or height), and scaled to 250pxx250px.
final
crop CropArea?
CropArea applied to this Avatar.
final
full ImageFile
Full-sized ImageFile representing this UserAvatar, keeping the original dimensions.
final
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.
final
original ImageFile
Original ImageFile representing this UserAvatar.
final
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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