FilePickerModel class

Constructors

FilePickerModel({String id = '', String? title, List<FileModel> files = const [], bool isRequired = false, int maxSizeInMb = 5, int? maxFiles, List<String> allowedExtensions = const ['jpg', 'png', 'pdf'], FileTypeEnum type = .media})

Properties

allowedExtensions → List<String>
final
allowMultiple → bool
no setter
files ↔ List<FileModel>
getter/setter pair
getMaxFiles → int
no setter
getTextFormates → String
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
isLoading ↔ bool
getter/setter pair
isRequired → bool
final
maxFiles → int?
final
maxSizeInMb → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String?
final
type → FileTypeEnum
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