打印/下载
案例
import 'package:flutter/material.dart';
import 'package:webmis/library/plus/map-address.dart';

class Demo extends StatefulWidget {
  @override
  State<StatefulWidget> createState() => DemoState();
}
class DemoState extends State<Demo> {

  Map<String,dynamic> _location;
  var _mapController;

  /* 构造函数 */
  @override
  void initState() {
    super.initState();
    // 搜索地址
    MapAddress.search('螺蛳湾3期').then((res){
      print(res);
    });
  }

  /* 销毁 */
  @override
  void dispose(){
    super.dispose();
  }

  /* Widget */
  @override
  // ignore: must_call_super
  Widget build(BuildContext context) {
    return Scaffold(
      body: Text('搜索地址'),
    );
  }

}
{{copy}}