plugin_api library
Classes
- Anchor
-
AnchorPos<
T> - AnimatedTile
- AssetTileProvider
-
Bounds<
T extends num> - Rectangular bound delimited by orthogonal lines passing through two points.
- CenterZoom
- CircleLayer
- CircleLayerOptions
- CircleLayerWidget
- CircleMarker
- CirclePainter
-
Coords<
T extends num> - Crs
- An abstract representation of a Coordinate Reference System.
- CrsSimple
-
CustomPoint<
T extends num> - CustomTileProvider
- Earth
- Epsg3857
- The most common CRS used for rendering maps.
- Epsg4326
- A common CRS among GIS enthusiasts. Uses simple Equirectangular projection.
- FileTileProvider
- FitBoundsOptions
- FlutterMap
- Renders a map composed of a list of layers powered by LayerOptions.
- GroupLayer
- GroupLayerOptions
- LayerOptions that describe a layer composed by multiple built-in layers.
- GroupLayerWidget
- InteractiveFlag
- Use InteractiveFlag to disable / enable certain events Use InteractiveFlag.all to enable all events, use InteractiveFlag.none to disable all events
- LatLngBounds
- LayerOptions
- Common type between all LayerOptions.
- Level
- MapController
- Controller to programmatically interact with FlutterMap.
- MapControllerImpl
- MapEvent
- MapEventDoubleTapZoom
- MapEventDoubleTapZoomEnd
- MapEventDoubleTapZoomStart
- MapEventFlingAnimation
- MapEventFlingAnimationEnd
- MapEventFlingAnimationNotStarted
- Emits when InteractiveFlags contains fling and there wasn't enough velocity to start fling animation
- MapEventFlingAnimationStart
- MapEventLongPress
- MapEventMove
- MapEventMoveEnd
- MapEventMoveStart
- MapEventRotate
- MapEventRotateEnd
- MapEventRotateStart
- MapEventTap
- MapEventWithMove
- MapOptions
- Allows you to provide your map's starting properties for zoom, rotation and center. Alternatively you can provide bounds instead of center. If both, center and bounds are provided, bounds will take preference over center. Zoom, pan boundary and interactivity constraints can be specified here too.
- MapPlugin
- MapPosition
- Position's type for PositionCallback.
- MapState
- Marker
- MarkerLayer
- MarkerLayerOptions
- MarkerLayerWidget
- MoveAndRotateResult
- MultiFingerGesture
- Use MultiFingerGesture to disable / enable certain gestures Use MultiFingerGesture.all to enable all gestures, use MultiFingerGesture.none to disable all gestures
- NetworkTileProvider
- NonCachingNetworkTileProvider
- OverlayImage
- OverlayImageLayer
- OverlayImageLayerOptions
- OverlayImageLayerWidget
- Polygon
- PolygonLayer
- PolygonLayerOptions
- PolygonLayerWidget
- PolygonPainter
- Polyline
- PolylineLayer
- PolylineLayerOptions
- PolylineLayerWidget
- PolylinePainter
- Proj4Crs
- Custom CRS
- Projection
- SphericalMercator
- Tile
- TileLayer
- TileLayerOptions
- Describes the needed properties to create a tile-based layer. A tile is an image bound to a specific geographical position.
- TileLayerWidget
- TileProvider
- Transformation
- WMSTileLayerOptions
Properties
- coordinateDebugTileBuilder → TileBuilder
-
Shows coordinates over Tiles
final
- darkModeTileBuilder → TileBuilder
-
Applies inversion color matrix on Tiles which may simulate Dark mode.
darkModeTilesContainerBuilder is better at performance because it applies color matrix on the container instead of on every Tile
final
- darkModeTilesContainerBuilder → TilesContainerBuilder
-
Applies inversion color matrix on Tiles container which may simulate Dark mode.
final
- loadingTimeDebugTileBuilder → TileBuilder
-
Shows the Tile loading time in ms
final
Typedefs
- ErrorTileCallBack = void Function(Tile tile, dynamic error)
- LongPressCallback = void Function(TapPosition tapPosition, LatLng point)
- MapCreatedCallback = void Function(MapController mapController)
- PositionCallback = void Function(MapPosition position, bool hasGesture)
- TapCallback = void Function(TapPosition tapPosition, LatLng point)
-
TemplateFunction
= String Function(String str, Map<
String, String> data) - TileBuilder = Widget Function(BuildContext context, Widget tileWidget, Tile tile)
-
TileReady
= void Function(Coords<
double> coords, dynamic error, Tile tile) -
TilesContainerBuilder
= Widget Function(BuildContext context, Widget tilesContainer, List<
Tile> tiles)