SetWallpaperDetails constructor
SetWallpaperDetails({
- ByteBuffer? data,
- String? url,
- required WallpaperLayout layout,
- required String filename,
- bool? thumbnail,
Implementation
SetWallpaperDetails({
/// The jpeg or png encoded wallpaper image as an ArrayBuffer.
ByteBuffer? data,
/// The URL of the wallpaper to be set (can be relative).
String? url,
/// The supported wallpaper layouts.
required WallpaperLayout layout,
/// The file name of the saved wallpaper.
required String filename,
/// True if a 128x60 thumbnail should be generated. Layout and ratio are not
/// supported yet.
bool? thumbnail,
}) : _wrapped = $js.SetWallpaperDetails(
data: data?.toJS,
url: url,
layout: layout.toJS,
filename: filename,
thumbnail: thumbnail,
);