CPMapButton class

A button object for placement in a map.

Constructors

CPMapButton.new({required OnClickEvents onClickEvent, bool isEnabled = true, bool isHidden = false, String? focusedImage, int? tintColor, String? darkImage, String? image})
Creates CPMapButton

Properties

darkImage String?
The dark image displayed on the map button.
final
focusedImage String?
The image displayed on the focused map button.
final
hashCode int
The hash code for this object.
no setterinherited
image String?
The image displayed on the map button.
final
isEnabled bool
The enabled state of the map button.
final
isHidden bool
The hidden state of the map button.
final
onClickEvent OnClickEvents
The enum indicating the type of the map button.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tintColor int?
The tintColor of the map button.
final

Methods

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

Operators

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