ThemeParameters class

Contains parameters of the application theme.

Inheritance
Available Extensions

Constructors

ThemeParameters({required int background_color, required int secondary_background_color, required int text_color, required int hint_color, required int link_color, required int button_color, required int button_text_color, int? extra, int? clientId})
Contains parameters of the application theme

Properties

background_color int
A color of the background in the RGB24 format.
read / write
button_color int
A color of the buttons in the RGB24 format.
read / write
button_text_color int
A color of text on the buttons in the RGB24 format.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
hint_color int
A color of hints in the RGB24 format.
read / write
A color of links in the RGB24 format.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
secondary_background_color int
A secondary color for the background in the RGB24 format.
read / write
text_color int
A color of text in the RGB24 format.
read / write

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) ThemeParameters?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"themeParameters"