BackgroundLayerProperties class

Implemented types

Constructors

BackgroundLayerProperties({dynamic backgroundColor, dynamic backgroundPattern, dynamic backgroundOpacity, dynamic visibility})
const
BackgroundLayerProperties.fromJson(Map<String, dynamic> json)
factory

Properties

backgroundColor → dynamic
The color with which the background will be drawn.
final
backgroundOpacity → dynamic
The opacity at which the background will be drawn.
final
backgroundPattern → dynamic
Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
visibility → dynamic
Whether this layer is displayed.
final

Methods

copyWith(BackgroundLayerProperties changes) → BackgroundLayerProperties
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({bool skipNulls = true}) → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

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