mapsindoors_mapbox 3.1.2 mapsindoors_mapbox: ^3.1.2 copied to clipboard
A MapsIndoors flutter plugin using the Mapbox platform for Android and iOS app usage.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add mapsindoors_mapbox
With Flutter:
$ flutter pub add mapsindoors_mapbox
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
mapsindoors_mapbox: ^3.1.2
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:mapsindoors_mapbox/core/mapsindoors.dart';
import 'package:mapsindoors_mapbox/core/mapsindoors_widget.dart';
import 'package:mapsindoors_mapbox/core/mp_default_floor_selector.dart';
import 'package:mapsindoors_mapbox/core/mp_directions_renderer.dart';
import 'package:mapsindoors_mapbox/core/mp_directions_service.dart';
import 'package:mapsindoors_mapbox/core/mp_floor_selector.dart';
import 'package:mapsindoors_mapbox/core/mp_map_label_font.dart';
import 'package:mapsindoors_mapbox/mapsindoors.dart';