UFile class abstract

Constructors

UFile.new()

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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

cropImage({required String filePath, dynamic action(FileData file)?, int? maxWidth, int? maxHeight, CropStyle cropStyle = CropStyle.rectangle, CropAspectRatio cropAspectRatio = const CropAspectRatio(ratioX: 3, ratioY: 1.2), ImageCompressFormat imageCompressFormat = ImageCompressFormat.png, AndroidUiSettings? androidUiSettings, WebUiSettings? webUiSettings, IOSUiSettings? iOSUiSettings, Color? activeControlsWidgetColor, Color? statusBarColor, Color? toolbarColor, Color? toolbarWidgetColor, List<CropAspectRatioPreset> aspectRatioPresets = const <CropAspectRatioPreset>[CropAspectRatioPreset.original, CropAspectRatioPreset.square, CropAspectRatioPreset.ratio3x2, CropAspectRatioPreset.ratio4x3, CropAspectRatioPreset.ratio16x9]}) Future<FileData?>
showFilePicker({required dynamic action(List<FileData>), FileType fileType = FileType.any, bool allowMultiple = false, String? initialDirectory, String? dialogTitle, bool allowCompression = true, bool withReadStream = false, bool lockParentWindow = false, List<String>? allowedExtensions}) Future<void>
showImagePicker({required ImageSource source, bool allowMultiple = false, dynamic action(List<FileData>)?}) Future<List<FileData>>
writeToFile(Uint8List data) Future<File>