amap_flutter_tools 0.0.8 amap_flutter_tools: ^0.0.8 copied to clipboard
a flutter amap plugin
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add amap_flutter_tools
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
amap_flutter_tools: ^0.0.8
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:amap_flutter_tools/amap_controller.dart';
import 'package:amap_flutter_tools/amap_flutter_location.dart';
import 'package:amap_flutter_tools/amap_flutter_map.dart';
import 'package:amap_flutter_tools/amap_flutter_navi.dart';
import 'package:amap_flutter_tools/amap_location_option.dart';
import 'package:amap_flutter_tools/amap_widget.dart';
import 'package:amap_flutter_tools/core/amap_flutter_platform.dart';
import 'package:amap_flutter_tools/core/map_event.dart';
import 'package:amap_flutter_tools/core/method_channel_amap_flutter_map.dart';
import 'package:amap_flutter_tools/types/base_overlay.dart';
import 'package:amap_flutter_tools/types/bitmap.dart';
import 'package:amap_flutter_tools/types/camera.dart';
import 'package:amap_flutter_tools/types/marker.dart';
import 'package:amap_flutter_tools/types/marker_updates.dart';
import 'package:amap_flutter_tools/types/polygon.dart';
import 'package:amap_flutter_tools/types/polygon_updates.dart';
import 'package:amap_flutter_tools/types/polyline.dart';
import 'package:amap_flutter_tools/types/polyline_updates.dart';
import 'package:amap_flutter_tools/types/types.dart';
import 'package:amap_flutter_tools/types/ui.dart';