FilesystemPickerShortcut class
Shortcut - a specific path of the file system, it can be the root of a disk, a user folder, a folder with a photo, etc.
You can set a name for it to be displayed in the FilesystemPicker, as well as specify whether it can be selected in the picker.
- Mixed in types
Constructors
- FilesystemPickerShortcut({required String name, IconData? icon, required Directory path, bool isSelectable = true})
- Creates a shortcut.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
Shortcut icon, if not specified, the icon from the theme will be displayed.
final
- isSelectable → bool
-
Specify whether this shortcut can be selected as the resulting path in the picker.
final
- name → String
-
The name of the shortcut displayed in the picker.
final
- path → Directory
-
File system path.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited