utils/u_file
library
Classes
-
UCropOptions
-
How the cropper opens: shape, aspect ratio(s), max size, rotate/flip/adjust tools.
UCropOptions(aspectRatio: 1, shape: UCropShape.circle)
-
UFile
-
Pick, capture, crop, store, open and share files on all 6 platforms.
final UFileData? img = await UFile.pickSingleImage();
-
UFileData
-
A picked or captured file: bytes, name, extension, url or id.
file.bytes, file.name, file.isImage
Enums
-
UImageSource
-
Where pickImage/pickVideo take media from: the gallery or the camera.