OpenSaveFileDialogs class
Constructors
-
OpenSaveFileDialogs({BinaryMessenger? binaryMessenger})
-
Constructor for OpenSaveFileDialogs. The
binaryMessenger
named argument is
available for dependency injection. If it is left null, the default
BinaryMessenger will be used which routes to the host platform.
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
openFileDialog()
→ Future<String?>
-
Open the Android open file dialog.
Returns: The content of the selected file, or null if no file was selected. (String?)
-
saveFileDialog({required String content, String? startingFileName})
→ Future<String?>
-
Open the Android save file dialog.
content: The content of the file to save. (String)
startingFileName: The name of the file to start with (null if no name should be set). (String?)
Returns: The name of the saved file, or null if no file was selected. (String?)
-
toString()
→ String
-
A string representation of this object.
inherited