homeScreen static method

Future<String> homeScreen({
  1. String imageName = "myimage",
  2. double width = 0,
  3. double height = 0,
  4. RequestSizeOptions options = RequestSizeOptions.RESIZE_CENTRE_CROP,
  5. 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;
}