amap_all_fluttify 0.16.4

  • Readme
  • Changelog
  • Example
  • Installing
  • 88

高德地图 组件整合插件 #

pub package

包含搜索, 定位, 地图, 简单整合了amap_search_fluttify,amap_location_fluttify,amap_map_fluttify.

从0.16.0开始, 添加了一些组合了定位, 地图, 搜索的一些功能:

位置选择器 #

应用内导航 #

0.16.4 #

  • amap_map_fluttify: ^0.23.4

0.16.3 #

  • amap_search_fluttify: ^0.10.1
  • amap_map_fluttify: ^0.23.3

0.16.2 #

  • feat: 增加附近功能

0.16.1 #

  • feat: 增加显示地图轮廓

0.16.0 #

  • feat: 增加路径规划方法

0.15.2 #

  • feat: 增加地点选择组件

0.15.1 #

  • amap_map_fluttify: ^0.23.1

0.15.0 #

  • amap_search_fluttify: ^0.10.0
  • amap_location_fluttify: ^0.13.0

0.14.1 #

  • amap_map_fluttify: ^0.22.2

0.14.0 #

  • amap_search_fluttify: ^0.9.0-dev.3
  • amap_location_fluttify: ^0.12.0-dev.0
  • amap_map_fluttify: ^0.22.0

0.13.1 #

  • amap_search_fluttify: ^0.8.1
  • feat: 增加addDriveRoute方法

0.13.0 #

  • amap_search_fluttify: ^0.8.0+b2681d9
  • amap_location_fluttify: ^0.10.0+e74b91b
  • amap_map_fluttify: ^0.19.1+b2681d9

0.12.1 #

  • amap_map_fluttify: ^0.18.2+c038d50

0.12.0 #

  • amap_search_fluttify: ^0.7.9+481e45c
  • amap_location_fluttify: ^0.8.11+481e45c
  • amap_map_fluttify: ^0.18.0+481e45c

0.11.2 #

  • 提升gradle版本

0.11.0 #

  • amap_search_fluttify: ^0.7.2+4d92ce0
  • amap_location_fluttify: ^0.8.3+4d92ce0
  • amap_map_fluttify: ^0.17.5+26272df

0.10.0 #

  • amap_search_fluttify: ^0.7.0+ea37ae9
  • amap_location_fluttify: ^0.8.0+ea37ae9
  • amap_map_fluttify: ^0.16.1+a3d4e61

0.9.0 #

  • amap_search_fluttify: 0.5.0+acdcd89
  • amap_location_fluttify: 0.6.0+acdcd89
  • amap_map_fluttify: 0.14.0+e26c0fa

0.8.0 #

  • amap_search_fluttify: 0.4.0+d44bb02
  • amap_map_fluttify: 0.13.1+d44bb02

0.7.0 #

  • amap_location_fluttify: 0.5.1+a918944

0.6.0 #

  • amap_map_fluttify: 0.11.0+a918944

0.5.0 #

  • amap_search_fluttify: 0.3.4+97873c8
  • amap_location_fluttify: 0.4.0+82a2243
  • amap_map_fluttify: 0.10.2+a1a3fff

0.4.2 #

  • amap_search_fluttify: 0.3.3+97873c8
  • amap_location_fluttify: 0.3.1+97873c8
  • amap_map_fluttify: 0.8.4+edd4090

0.4.1 #

  • amap_search_fluttify: 0.3.2+14a38e3

  • amap_location_fluttify: 0.3.0+8cf796c

  • amap_map_fluttify: 0.8.1+286db79

  • 0.4.0 #

  • amap_search_fluttify: ^0.3.0

  • amap_location_fluttify: ^0.3.0

  • amap_map_fluttify: ^0.8.0

0.1.0 #

  • amap_search_fluttify: ^0.2.13+d2eb645
  • amap_location_fluttify: ^0.2.7+d2eb645
  • amap_map_fluttify: ^0.5.6+d2eb645

example/lib/main.dart

import 'package:amap_map_fluttify/amap_map_fluttify.dart';
import 'package:flutter/material.dart';
import 'package:oktoast/oktoast.dart';

import 'demo/demo.screen.dart';

Future<void> main() async {
  runApp(MyApp());

  await enableFluttifyLog(false);
  await AmapService.init(
    iosKey: 'c3b60c1f305f5b18aab83056c6971709',
    androidKey: 'b515edaa8a1230aa4d2aa9447a7f66d7',
  );
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return OKToast(
      child: MaterialApp(
        home: Scaffold(
          appBar: AppBar(title: const Text('AMaps examples')),
          backgroundColor: Colors.grey.shade200,
          body: MapDemo(),
        ),
      ),
    );
  }
}

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  amap_all_fluttify: ^0.16.4

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:amap_all_fluttify/amap_all_fluttify.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
75
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
88
Learn more about scoring.

We analyzed this package on Jul 9, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.14
  • Flutter: 1.17.5

Analysis suggestions

Package does not support Flutter platform linux

Because:

  • package:amap_all_fluttify/amap_all_fluttify.dart that declares support for platforms: android, ios

Package does not support Flutter platform macos

Because:

  • package:amap_all_fluttify/amap_all_fluttify.dart that declares support for platforms: android, ios

Package does not support Flutter platform web

Because:

  • package:amap_all_fluttify/amap_all_fluttify.dart that declares support for platforms: android, ios

Package does not support Flutter platform windows

Because:

  • package:amap_all_fluttify/amap_all_fluttify.dart that declares support for platforms: android, ios

Package not compatible with SDK dart

Because:

  • amap_all_fluttify that is a package requiring null.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.6.0 <3.0.0
amap_location_fluttify ^0.13.0 0.13.1
amap_map_fluttify ^0.23.4 0.23.4 1.0.0-alpha.6
amap_search_fluttify ^0.10.1 0.10.3
flutter 0.0.0
flutter_easyrefresh ^2.1.1 2.1.1
sliding_up_panel ^1.0.2 1.0.2
Transitive dependencies
amap_core_fluttify 0.9.5
collection 1.14.12 1.14.13
core_location_fluttify 0.2.4
cupertino_icons 0.1.3
flutter_web_plugins 0.0.0
foundation_fluttify 0.8.10 0.8.11-dev.1
latlng 0.0.2
meta 1.1.8 1.2.2
platform_detect 1.4.0
plugin_platform_interface 1.0.2
pub_semver 1.4.4
sky_engine 0.0.99
typed_data 1.1.6 1.2.0
url_launcher 5.5.0
url_launcher_linux 0.0.1+1
url_launcher_macos 0.0.1+7
url_launcher_platform_interface 1.0.7
url_launcher_web 0.1.2
vector_math 2.0.8 2.1.0-nullsafety
Dev dependencies
flutter_test