FilesystemPickerOptions class

Defines the options for the FilesystemPicker, such as the theme, the name of the root element, etc.

It is used together with FilesystemPickerDefaultOptions to set global picker settings.

See also:

Mixed-in types
Annotations

Constructors

FilesystemPickerOptions({FilesystemPickerThemeBase? theme, String? rootName = defaultRootName, FilesystemType fsType = defaultFsType, String permissionText = defaultPermissionText, FileTileSelectMode fileTileSelectMode = defaultFileTileSelectMode, bool showGoUp = defaultShowGoUp, bool caseSensitiveFileExtensionComparison = defaultCaseSensitiveFileExtensionComparison, FilesystemPickerDialogOptions dialog = defaultDialogOptions, FilesystemPickerBottomSheetOptions bottomSheet = defaultBottomSheetOptions})
Creates the options for the FilesystemPicker, such as the theme, the name of the root element, etc.
const

Properties

bottomSheet → FilesystemPickerBottomSheetOptions
The bottom sheet options values.
final
caseSensitiveFileExtensionComparison bool
The value of the mode of comparing extensions with the allowedExtensions list, case-sensitive or case-insensitive.
final
dialog → FilesystemPickerDialogOptions
The dialog options values.
final
fileTileSelectMode FileTileSelectMode
The value of the file selection mode (either tapping on the whole tile or only on trailing button).
final
fsType FilesystemType
The value of the type of filesystem view (folder and files, folder only or files only).
final
hashCode int
The hash code for this object.
no setteroverride
permissionText String
The value of the text of the message that there is no permission to access the storage.
final
rootName String?
The value of the name of the filesystem view root in breadcrumbs.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showGoUp bool
The value of the option to display the go to the previous level of the file system in the filesystem view.
final
theme FilesystemPickerThemeBase
Returns the current theme.
no setter

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

defaultBottomSheetOptions → const FilesystemPickerBottomSheetOptions
The default bottom sheet options values.
defaultCaseSensitiveFileExtensionComparison → const bool
The default value of the mode of comparing extensions with the allowedExtensions list, case-sensitive or case-insensitive.
defaultDialogOptions → const FilesystemPickerDialogOptions
The default dialog options values.
defaultFileTileSelectMode → const FileTileSelectMode
The default value of the file selection mode (either tapping on the whole tile or only on trailing button).
defaultFsType → const FilesystemType
The default value of the type of filesystem view (folder and files, folder only or files only).
defaultPermissionText → const String
The default value of the text of the message that there is no permission to access the storage.
defaultRootName → const String
The default value of the name of the filesystem view root in breadcrumbs.
defaultShowGoUp → const bool
The default value of the option to display the go to the previous level of the file system in the filesystem view.