FilePickerOptionsWithMacOS constructor

FilePickerOptionsWithMacOS({
  1. bool canChooseFiles = true,
  2. bool canChooseDirectories = false,
  3. bool resolvesAliases = true,
  4. bool isModal = true,
  5. bool allowsMultipleSelection = false,
  6. bool canDownloadUbiquitousContents = false,
  7. bool canResolveUbiquitousConflicts = false,
  8. String title = 'title',
  9. String nameFieldLabel = '',
  10. String nameFieldStringValue = '',
  11. List<String> tagNames = const <String>[],
  12. bool canSelectHiddenExtension = true,
  13. bool showsTagField = true,
  14. bool isExtensionHidden = true,
  15. bool canCreateDirectories = true,
  16. List<String>? allowedFileTypes,
  17. String directoryURL = '',
  18. String prompt = 'prompt',
  19. String message = 'message',
})

Implementation

FilePickerOptionsWithMacOS(
    {this.canChooseFiles = true,
    this.canChooseDirectories = false,
    this.resolvesAliases = true,
    bool isModal = true,
    this.allowsMultipleSelection = false,
    this.canDownloadUbiquitousContents = false,
    this.canResolveUbiquitousConflicts = false,
    String title = 'title',
    String nameFieldLabel = '',
    String nameFieldStringValue = '',
    List<String> tagNames = const <String>[],
    bool canSelectHiddenExtension = true,
    bool showsTagField = true,
    bool isExtensionHidden = true,
    bool canCreateDirectories = true,
    List<String>? allowedFileTypes,
    String directoryURL = '',
    String prompt = 'prompt',
    String message = 'message'})
    : super(
          isModal: isModal,
          allowedFileTypes: allowedFileTypes,
          directoryURL: directoryURL,
          prompt: prompt,
          message: message,
          title: title,
          nameFieldLabel: nameFieldLabel,
          nameFieldStringValue: nameFieldStringValue,
          tagNames: tagNames,
          canSelectHiddenExtension: canSelectHiddenExtension,
          showsTagField: showsTagField,
          isExtensionHidden: isExtensionHidden,
          canCreateDirectories: canCreateDirectories);