EditHandle class

A specialized InteractiveMarker used as a draggable handle for editing.

It provides default styling for normal and active states, with customization options.

Inheritance
Available extensions

Constructors

EditHandle({Key? key, required LatLng point, required double size, IconData? icon, Color color = Colors.white, Color borderColor = const Color(0xFFE0E0E0), double borderWidth = 1.0, Color? iconColor, List<BoxShadow>? shadows, Color? activeColor, Color? activeBorderColor, double? activeBorderWidth, double touchSizeFactor = 1.5, BoxShape shape = BoxShape.circle})

Properties

actionOptions ActionMarkerOptions?
no setterinherited
activeOptions ActiveMarkerOptions?
no setterinherited
alignment Alignment?
Alignment of the marker relative to the normal center at point
finalinherited
child Widget
Widget tree of the marker, sized by width & height
finalinherited
gestureOptions GestureMarkerOptions?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
height double
Height of child
finalinherited
hidden bool
finalinherited
isHidden bool
no setterinherited
key Key?
Provide an optional Key for the Marker. This key will get passed through to the created marker widget.
finalinherited
labelOptions LabelMarkerOptions?
no setterinherited
options List<MarkerOptions>
List of options attached to this marker.
finalinherited
point → LatLng
Coordinates of the marker
finalinherited
popupOptions PopupMarkerOptions?
no setterinherited
rotate bool?
Whether to counter rotate this marker to the map's rotation, to keep a fixed orientation
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
Width of child
finalinherited

Methods

copyWith({LatLng? point, Widget? child, double? width, double? height, Alignment? alignment, bool? rotate, bool? hidden, List<MarkerOptions>? options}) InteractiveMarker
Creates a copy of this marker with the given fields replaced with new values.
inherited
copyWith({LatLng? point, Widget? child, double? width, double? height, Alignment? alignment, bool? rotate}) → Marker

Available on Marker, provided by the MarkerX extension

ensureHasKey() → void

Available on Marker, provided by the MarkerX extension

inMapBounds(MapCamera cam, {MarkerLayerOptions? options, bool? active}) bool

Available on Marker, provided by the MarkerX extension

inPixelsBounds(MapCamera cam, Offset offset, {MarkerLayerOptions? options, bool? active}) bool

Available on Marker, provided by the MarkerX extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pixelBounds(MapCamera cam, {MarkerLayerOptions? options, bool? active}) Rect

Available on Marker, provided by the MarkerX extension

resolveScale({MarkerLayerOptions? options, bool active = false, bool touch = false}) double

Available on Marker, provided by the MarkerX extension

resolveSize({MarkerLayerOptions? options, bool active = false, bool touch = false}) Size

Available on Marker, provided by the MarkerX extension

toString() String
A string representation of this object.
inherited
withOption<T extends MarkerOptions>(T opt) InteractiveMarker
Returns a copy of this marker with the specified option opt added or updated.
inherited
withoutOption<T extends MarkerOptions>() InteractiveMarker
Returns a copy of this marker with the option of type T removed.
inherited

Operators

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