bothScreen abstract method
Future<String>
bothScreen({
- String imageName = "myimage",
- ImageFormat fileExtension = ImageFormat.jpeg,
- double width = 0,
- double height = 0,
- RequestSizeOptions options = RequestSizeOptions.resizeFit,
- DownloadLocation location = DownloadLocation.temporaryDirectory,
systemScreen gives you the option to use default wallpaper system which allows you to set home, lock screen or both
location
where the image is downloaded
Requires Read and Write Storage Permissions
Implementation
Future<String> bothScreen({
String imageName = "myimage",
ImageFormat fileExtension = ImageFormat.jpeg,
double width = 0,
double height = 0,
RequestSizeOptions options = RequestSizeOptions.resizeFit,
DownloadLocation location = DownloadLocation.temporaryDirectory,
});