setWallpaper method

Future<void> setWallpaper({
  1. required String path,
})

setWallpaper (with imagePath)

Implementation

Future<void> setWallpaper({required String path}) async {
  await _channel.invokeMethod('$_name/setWallpaper', {'path': path});
}