MyoroFilePickerConfiguration class
Configuration model of MyoroFilePicker.
- Annotations
-
- @immutable
- @myoroModel
Constructors
-
MyoroFilePickerConfiguration.new({String? title, required MyoroFilePickerFileTypeEnum fileType, List<
String> allowedExtensions = const [], required MyoroFilePickerOnChanged onChanged}) -
const
- MyoroFilePickerConfiguration.fake()
-
factory
Properties
-
allowedExtensions
→ List<
String> -
Permitted extensions when
fileallowedExtensionsType
is MyoroFilePickerFileTypeEnum.custom.final - fileType → MyoroFilePickerFileTypeEnum
-
File type accepted.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onChanged → MyoroFilePickerOnChanged
-
Callback executed when the selected file changes
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- self → MyoroFilePickerConfiguration
-
no setterinherited
- title → String?
-
Title of the picker window.
final
Methods
-
copyWith(
{String? title, bool titleProvided = true, MyoroFilePickerFileTypeEnum? fileType, List< String> ? allowedExtensions, MyoroFilePickerOnChanged? onChanged}) → MyoroFilePickerConfiguration -
inherited
-
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