insuideindoor 1.1.1 insuideindoor: ^1.1.1 copied to clipboard
A Flutter plugin for integrating Mapbox Maps inside a Flutter application on Android, iOS and web platfroms.
insuideindoor #
import the Package of dart file import 'package:insuideindoor/main.dart';
define body as InsuideMapHomePage();
For Example
return Scaffold( body: HomePage(), // This trailing comma makes auto-formatting nicer for build methods. );
HOW TO USE
If A problem occurred evaluating project ':mapbox_gl'. SDK Registry token is null.
define MAPBOX_DOWNLOADS_TOKEN in gradle.properties Open up your project-level build.gradle file, and add the code below to declare the endpoint in the repositories block:
allprojects {
repositories {
maven {
url 'https://api.mapbox.com/downloads/v2/releases/maven'
authentication {
basic(BasicAuthentication)
}
credentials {
// Do not change the username below.
// This should always be mapbox
(not your username).
username = "mapbox"
// Use the secret token you stored in gradle.properties as the password
password = project.properties['MAPBOX_DOWNLOADS_TOKEN'] ?: ""
}
}
}
}