CirclesController class

This class manages all the CircleControllers associated to a GoogleMapController.

Constructors

CirclesController({required StreamController<MapEvent<Object?>> stream})
Initialize the cache. The StreamController comes from the GoogleMapController, and is shared with other controllers.

Properties

circles Map<CircleId, CircleController>
Returns the cache of CircleControllers. Test only.
no setter
googleMap ↔ GMap
The GMap instance that this controller operates on.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
mapId int
The map ID for events.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addCircles(Set<Circle> circlesToAdd) → void
Adds a set of Circle objects to the cache.
bindToMap(int mapId, GMap googleMap) → void
Binds a mapId and the gmaps.GMap instance to this controller.
inherited
changeCircles(Set<Circle> circlesToChange) → void
Updates a set of Circle objects with new options.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeCircles(Set<CircleId> circleIdsToRemove) → void
Removes a set of CircleIds from the cache.
toString() String
A string representation of this object.
inherited

Operators

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