homeScreen static method
Future<String>
homeScreen({
- String imageName = "myimage",
- double width = 0,
- double height = 0,
- RequestSizeOptions options = RequestSizeOptions.RESIZE_CENTRE_CROP,
- DownloadLocation location = DownloadLocation.TEMPORARY_DIRECTORY,
Implementation
static Future<String> homeScreen(
{String imageName = "myimage",
double width = 0,
double height = 0,
RequestSizeOptions options = RequestSizeOptions.RESIZE_CENTRE_CROP,
DownloadLocation location = DownloadLocation.TEMPORARY_DIRECTORY}) async {
final String resultvar = await _channel.invokeMethod('HomeScreen', {
'maxWidth': width,
'maxHeight': height,
'RequestSizeOptions': options.index,
'location': location.index,
'imageName': imageName
});
return resultvar;
}