getSavePath method

  1. @Deprecated('Use getSaveLocation instead')
Future<String?> getSavePath(
  1. {List<XTypeGroup>? acceptedTypeGroups,
  2. String? initialDirectory,
  3. String? suggestedName,
  4. String? confirmButtonText}
)

Opens a file dialog for saving files and returns a file path at which to save.

Returns null if the user cancels the operation.

Implementation

// TODO(stuartmorgan): Switch to FileDialogOptions if we ever need to
// duplicate this to add a parameter.
@Deprecated('Use getSaveLocation instead')
Future<String?> getSavePath({
  List<XTypeGroup>? acceptedTypeGroups,
  String? initialDirectory,
  String? suggestedName,
  String? confirmButtonText,
}) {
  throw UnimplementedError('getSavePath() has not been implemented.');
}