changeWallpaper method
Future<String?>
changeWallpaper({
- required String url,
- required WallpaperScale scale,
- required String color,
override
Implementation
@override
Future<String?> changeWallpaper({
required String url,
required WallpaperScale scale,
required String color,
}) async {
return await methodChannel.invokeMethod<String>('changeWallpaper', {
'url': url,
'scale': scale.toString().split('.').last,
'color': color,
});
}