ProfileCircleConfiguration class

Constructors

ProfileCircleConfiguration({void onAvatarTap(ChatUser)?, EdgeInsetsGeometry? padding, String? profileImageUrl, double? bottomPadding, double? circleRadius, void onAvatarLongPress(ChatUser)?, ImageType imageType = ImageType.network, String defaultAvatarImage = profileImage, NetworkImageErrorBuilder? networkImageErrorBuilder, AssetImageErrorBuilder? assetImageErrorBuilder, NetworkImageProgressIndicatorBuilder? networkImageProgressIndicatorBuilder})
const

Properties

assetImageErrorBuilder AssetImageErrorBuilder?
Error builder to build error widget for asset image
final
bottomPadding double?
Used for give bottom padding to profile circle
final
circleRadius double?
Used for give circle radius to profile circle
final
defaultAvatarImage String
Field to set default avatar image if profile image link not provided
final
hashCode int
The hash code for this object.
no setterinherited
imageType ImageType
Field to define image type network, asset or base64
final
networkImageErrorBuilder NetworkImageErrorBuilder?
Error builder to build error widget for network image
final
networkImageProgressIndicatorBuilder NetworkImageProgressIndicatorBuilder?
Progress indicator builder for network image
final
onAvatarLongPress → void Function(ChatUser)?
Provides callback when user long press on profile circle.
final
onAvatarTap → void Function(ChatUser)?
Provides callback when user tap on profile circle.
final
padding EdgeInsetsGeometry?
Used to give padding to profile circle.
final
profileImageUrl String?
Provides image url as network or asset of user. Or Provides image data of user in base64
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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