BackgroundTypePattern class

A PNG or TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the background fill chosen by the user.

Inheritance
Available Extensions

Constructors

BackgroundTypePattern({required BackgroundFill fill, required int intensity, required bool is_inverted, required bool is_moving, int? extra, int? clientId})
A PNG or TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the background fill chosen by the user

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
fill BackgroundFill
Fill of the background.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
intensity int
Intensity of the pattern when it is shown above the filled background; 0-100..
read / write
is_inverted bool
True, if the background fill must be applied only to the pattern itself. All other pixels are black in this case. For dark themes only.
read / write
is_moving bool
True, if the background needs to be slightly moved when device is tilted.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) BackgroundTypePattern?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"backgroundTypePattern"