FileSelectionDialog class
This class provides a dialog containing a system button from which the system's file selection dialog can be opened.
- Inheritance
- Object
- BaseDialog
- FileSelectionDialog
Constructors
- FileSelectionDialog(String htmlInfoText, FileSelectionCallback fileSelectionCallback)
-
Creates a modal dialog providing a button to open the system's file
selection dialog.
htmlInfoText
will be displayed as a header text.fileSelectionCallback
will be called with the list of user-selected html File objects. The list will be null if the user cancelled the dialog without having selected a file.
Properties
- closeCallback ↔ BaseDialogCloseCallback
-
read / write, inherited
- dia ↔ DivElement
-
read / write, inherited
- diaContainer ↔ DivElement
-
read / write, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isModal ↔ bool
-
read / write, inherited
- isopen ↔ bool
-
read / write, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
close(
UserInput userInput) → void -
Closes the dialog.
userInput
is passed on to closeCallback if a non-null callback is defined.inherited -
createShowDia(
) → void -
Performs the dialog creation and display logic.
inherited
-
isOpen(
) → bool -
Returns true if the dialog is open.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited