FilePickerUtil class

Constructors

FilePickerUtil.new()
factory

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
pickDirectory({String? dialogTitle, String? initialDirectory}) Future<String?>
pickFile({List<String>? allowedExtensions, FileType type = fp.FileType.any, bool allowCompression = true, bool allowMultiple = false, String? dialogTitle}) Future<File?>
pickMultipleFiles({List<String>? allowedExtensions, FileType type = fp.FileType.any, bool allowCompression = true, String? dialogTitle}) Future<List<File>>
saveFile({required List<int> bytes, required String fileName, String? dialogTitle, String? initialDirectory, List<String>? allowedExtensions}) Future<String?>
showCustomFilePicker({required BuildContext context, List<String>? allowedExtensions, FileType type = fp.FileType.any, String? title, Color? primaryColor, Color? backgroundColor}) Future<File?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited