amap_base_location 0.4.0+2 copy "amap_base_location: ^0.4.0+2" to clipboard
amap_base_location: ^0.4.0+2 copied to clipboard

discontinued

Fully Functional AMap Flutter Plugin. Based on AndroidView/UiKitView.

example/lib/main.dart

import 'package:amap_base_example/location/location.screen.dart';
import 'package:amap_base_location/amap_base_location.dart';
import 'package:flutter/material.dart';

void main() async {
  debugPrint('main方法运行');
  await AMap.init('27d67839721288be2ddd87b4fd868822');
  runApp(MaterialApp(
    home: LauncherScreen(),
    theme: ThemeData(primaryColor: Color(0xff292c36)),
  ));
}

class LauncherScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('AMaps examples'),
        backgroundColor: Theme.of(context).primaryColor,
      ),
      backgroundColor: Colors.grey.shade200,
      body: LocationDemo(),
    );
  }
}
0
likes
10
pub points
19%
popularity

Publisher

unverified uploader

Fully Functional AMap Flutter Plugin. Based on AndroidView/UiKitView.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

amap_base_core, flutter

More

Packages that depend on amap_base_location