amap_map_fluttify/example/lib/map/tools/offline_manager_screen.dart

20 lines
514 B
Dart
Raw Normal View History

2024-11-17 15:45:43 +08:00
import 'package:amap_map_fluttify/amap_map_fluttify.dart';
import 'package:flutter/material.dart';
class OfflineManagerScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text('打开离线地图管理')),
body: Center(
child: ElevatedButton(
onPressed: () {
AmapService.instance.openOfflineMapManager();
},
child: Text('离线地图管理'),
),
),
);
}
}