BigAvatarWidget.myUser constructor
- MyUser? myUser, {
- Key? key,
- void onUpload()?,
- void onDelete()?,
- void onEdit()?,
- bool loading = false,
- String? error,
- AvatarShape shape = AvatarShape.rectangle,
Builds a BigAvatarWidget of the provided myUser.
Implementation
const BigAvatarWidget.myUser(
this.myUser, {
super.key,
this.onUpload,
this.onDelete,
this.onEdit,
this.loading = false,
this.error,
this.shape = AvatarShape.rectangle,
}) : _mode = _BigAvatarMode.myUser,
user = null,
chat = null,
builder = _defaultBuilder;