UploadDefaults class
Defaults for every Upload under a ConfigProvider.
House style for uploaders.
- Annotations
Constructors
- UploadDefaults({UploadVariant? variant, bool? showRemove, bool? showRetry, bool? showSize, bool? disabled})
-
Creates a UploadDefaults.
const
Properties
- disabled → bool?
-
Whether a Upload is disabled, unless it says otherwise.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showRemove → bool?
-
Whether a file can be removed.
final
- showRetry → bool?
-
Whether a failed upload offers a retry.
final
- showSize → bool?
-
Whether a file lists its size.
final
- variant → UploadVariant?
-
Which shape the uploader takes.
final
Methods
-
merge(
UploadDefaults other) → UploadDefaults -
This one with
other's fields laid over it, one field at a time. -
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