mapbox_widget_layer 0.1.0+2 mapbox_widget_layer: ^0.1.0+2 copied to clipboard
Custom Flutter Widgets on top of a Mapbox Map (package mapbox_gl). Exposes builders to reactively build widgets based on screen position, zoom, bearing, and tilt.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add mapbox_widget_layer
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
mapbox_widget_layer: ^0.1.0+2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:mapbox_widget_layer/mapbox_widget_layer.dart';