saveFileDialog method

  1. @override
Future<String?> saveFileDialog({
  1. required String content,
  2. String? startingFileName,
})
override

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?)

Implementation

@override
Future<String?> saveFileDialog(
    {required String content, String? startingFileName}) {
  return _api.saveFileDialog(
      content: content, startingFileName: startingFileName);
}