mapbox_gl_flutter_web 0.1.2
mapbox_gl_flutter_web: ^0.1.2 copied to clipboard
Flutter Web bridge for Mapbox GL JS. Pair with mapbox_maps_flutter on mobile via conditional imports to render the same map on every platform.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add mapbox_gl_flutter_webThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
mapbox_gl_flutter_web: ^0.1.2Alternatively, 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_gl_flutter_web/mapbox_gl_flutter_web.dart';