ThemeParameters class

Contains parameters of the application theme

Inheritance

Constructors

ThemeParameters({String? extra, int? client_id, int32? background_color, int32? secondary_background_color, int32? text_color, int32? hint_color, int32? link_color, int32? button_color, int32? button_text_color})
ThemeParameters.fromMap(Map<String, dynamic> map)

Properties

background_color int32?
A color of the background in the RGB24 format
getter/setter pair
button_color int32?
A color of the buttons in the RGB24 format
getter/setter pair
button_text_color int32?
A color of text on the buttons in the RGB24 format
getter/setter pair
client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
hint_color int32?
A color of hints in the RGB24 format
getter/setter pair
A color of links in the RGB24 format
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary_background_color int32?
A secondary color for the background in the RGB24 format
getter/setter pair
tdType String
JSON object type; maps to the field @type.
no setteroverride
text_color int32?
A color of text in the RGB24 format
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

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