BackgroundTypeWallpaper class

Represents a background type where the background is a wallpaper in JPEG format.

Inheritance

Constructors

BackgroundTypeWallpaper({required Document document, required int darkThemeDimming, required bool isBlurred, required bool isMoving})
Constructs a BackgroundTypeWallpaper object.
const
BackgroundTypeWallpaper.fromJson(Map<String, dynamic> json)
Creates a BackgroundTypeWallpaper object from JSON.
factory

Properties

darkThemeDimming int
Dimming of the background in dark themes, as a percentage; 0-100.
final
document Document
Document with the wallpaper.
final
hashCode int
The hash code for this object.
no setterinherited
isBlurred bool
True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12.
final
isMoving bool
True, if the background moves slightly when the device is tilted.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type BackgroundTypeType
Type of the background.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a BackgroundTypeWallpaper object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited