vietmap_flutter_navigation 1.4.1 vietmap_flutter_navigation: ^1.4.1 copied to clipboard
A Flutter plugin for find a route and navigating user using Vietmap api and vietmap_flutter_gl. Supports Android and iOS.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add vietmap_flutter_navigation
With Flutter:
$ flutter pub add vietmap_flutter_navigation
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
vietmap_flutter_navigation: ^1.4.1
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:vietmap_flutter_navigation/embedded/controller.dart';
import 'package:vietmap_flutter_navigation/embedded/view.dart';
import 'package:vietmap_flutter_navigation/extension.dart';
import 'package:vietmap_flutter_navigation/helpers.dart';
import 'package:vietmap_flutter_navigation/models/constant.dart';
import 'package:vietmap_flutter_navigation/models/current_location.dart';
import 'package:vietmap_flutter_navigation/models/direction_route.dart';
import 'package:vietmap_flutter_navigation/models/events.dart';
import 'package:vietmap_flutter_navigation/models/marker.dart';
import 'package:vietmap_flutter_navigation/models/marker_widget.dart';
import 'package:vietmap_flutter_navigation/models/method_channel_event.dart';
import 'package:vietmap_flutter_navigation/models/navmode.dart';
import 'package:vietmap_flutter_navigation/models/options.dart';
import 'package:vietmap_flutter_navigation/models/route_event.dart';
import 'package:vietmap_flutter_navigation/models/route_leg.dart';
import 'package:vietmap_flutter_navigation/models/route_progress_event.dart';
import 'package:vietmap_flutter_navigation/models/route_step.dart';
import 'package:vietmap_flutter_navigation/models/voice_units.dart';
import 'package:vietmap_flutter_navigation/models/way_point.dart';
import 'package:vietmap_flutter_navigation/navigation_plugin.dart';
import 'package:vietmap_flutter_navigation/navigation_plugin_method_channel.dart';
import 'package:vietmap_flutter_navigation/navigation_plugin_platform_interface.dart';
import 'package:vietmap_flutter_navigation/views/banner_instruction.dart';
import 'package:vietmap_flutter_navigation/views/bottom_action.dart';
import 'package:vietmap_flutter_navigation/views/navigation_view.dart';