BackgroundFillFreeformGradient class

Represents a background fill where the background is a freeform gradient that rotates after every message in the chat.

Inheritance

Constructors

BackgroundFillFreeformGradient({required List<int> colors})
Constructs a BackgroundFillFreeformGradient object.
const
BackgroundFillFreeformGradient.fromJson(Map<String, dynamic> json)
Creates a BackgroundFillFreeformGradient object from JSON.
factory

Properties

colors List<int>
A list of the 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type BackgroundFillType
Type of the background fill.
no setteroverride

Methods

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

Operators

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