FilesystemPickerContextAction class

Defines an action that can be called for the current path, such as "Create Folder".

Implementers

Constructors

FilesystemPickerContextAction({required Widget icon, required String text, FilesystemPickerContextActionCallback? action})
Creates an action definition.

Properties

action FilesystemPickerContextActionCallback?
The handler called for the action.
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget
Action icon.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Action name.
final

Methods

call(BuildContext context, Directory path) Future<bool>
Called when the user tapped on a button or menu item of a contextual action.
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