AttributionSettings class

Shows the attribution icon on the map.

Constructors

AttributionSettings({bool? enabled, int? iconColor, OrnamentPosition? position, double? marginLeft, double? marginTop, double? marginRight, double? marginBottom, bool? clickable})

Properties

clickable bool?
Whether the attribution can be clicked and click events can be registered.
getter/setter pair
enabled bool?
Whether the attribution icon is visible on the map. Restricted API. Please contact Mapbox to discuss your use case if you intend to use this property.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iconColor int?
Defines text color of the attribution icon.
getter/setter pair
marginBottom double?
Defines the margin to the bottom that the attribution icon honors. This property is specified in pixels.
getter/setter pair
marginLeft double?
Defines the margin to the left that the attribution icon honors. This property is specified in pixels.
getter/setter pair
marginRight double?
Defines the margin to the right that the attribution icon honors. This property is specified in pixels.
getter/setter pair
marginTop double?
Defines the margin to the top that the attribution icon honors. This property is specified in pixels.
getter/setter pair
position OrnamentPosition?
Defines where the attribution icon is positioned on the map
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

decode(Object result) AttributionSettings