ThemeSettings class
Describes theme settings.
- Inheritance
- Available Extensions
Constructors
- ThemeSettings({required int accent_color, Background? background, required BackgroundFill outgoing_message_fill, required bool animate_outgoing_message_fill, required int outgoing_message_accent_color, int? extra, int? clientId})
- Describes theme settings
Properties
- accent_color ↔ int
-
Theme accent color in ARGB format.
read / write
- animate_outgoing_message_fill ↔ bool
-
If true, the freeform gradient fill needs to be animated on every sent message.
read / write
- background ↔ Background?
-
The background to be used in chats; may be null.
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
- outgoing_message_accent_color ↔ int
-
Accent color of outgoing messages in ARGB format.
read / write
- outgoing_message_fill ↔ BackgroundFill
-
The fill to be used as a background for outgoing messages.
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) → ThemeSettings? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"themeSettings"