ImageUploader class
Use the image uploader to upload avatars associated with a users account.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Methods
-
updateUserImage(
{required BuildContext context, required SessionManager sessionManager, int imageSize = 256}) → Future< void> - Uploads a new image for a user. The user will be asked to pick a file, and is offered to crop the image (cropping is not available on web). The file is then uploaded to the server. An