FolderFileSaver class

Constructors

FolderFileSaver()

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 Properties

openSetting Future<bool?>
Open settings Device
no setter

Static Methods

saveFileIntoCustomDir({required String filePath, required String dirNamed, bool removeOriginFile = false}) Future<String?>
save into custom directory under App name
saveFileToFolderExt(String filePath, {bool removeOriginFile = false}) Future<String?>
type is jpg, jpeg, png = your_app_name/your_app_name Pictures type mp4 = your_app_name/your_app_name Videos type mp3 = your_app_name/your_app_name Musics type m4a = your_app_name/your_app_name Audios any type extension = your_app_name/your_app_name Documents your path filePath remove origin file removeOriginFile default false
saveImage({required String pathImage, int width = 0, int height = 0, bool removeOriginFile = false}) Future<String?>
if you want to get original of Image don't give a value of width and height cause default is return width = 0, [height} = 0 which will make it to get the original image remove origin file removeOriginFile default false