BackgroundTypePattern class

Represents a background type where the background is a pattern combined with a background fill.

Inheritance

Constructors

BackgroundTypePattern({required Document document, required BackgroundFill fill, required int intensity, required bool isInverted, required bool isMoving})
Constructs a BackgroundTypePattern object.
const
BackgroundTypePattern.fromJson(Map<String, dynamic> json)
Creates a BackgroundTypePattern object from JSON.
factory

Properties

document Document
Document with the pattern.
final
fill BackgroundFill
The background fill that is combined with the pattern.
final
hashCode int
The hash code for this object.
no setterinherited
intensity int
Intensity of the pattern when it is shown above the filled background; 0-100.
final
isInverted bool
True, if the background fill must be applied only to the pattern itself. All other pixels are black in this case. For dark themes only.
final
isMoving bool
True, if the background moves slightly when the device is tilted.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type BackgroundTypeType
Type of the background.
no setteroverride

Methods

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

Operators

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