BackgroundFillGradient class

Represents a background fill where the background is a gradient fill.

Inheritance

Constructors

BackgroundFillGradient({required int topColor, required int bottomColor, required int rotationAngle})
Constructs a BackgroundFillGradient object.
const
BackgroundFillGradient.fromJson(Map<String, dynamic> json)
Creates a BackgroundFillGradient object from JSON.
factory

Properties

bottomColor int
Bottom color of the gradient in the RGB24 format.
final
hashCode int
The hash code for this object.
no setterinherited
rotationAngle int
Clockwise rotation angle of the background fill in degrees; 0-359.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topColor int
Top color of the gradient in the RGB24 format.
final
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 BackgroundFillGradient object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

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