| 12345678910111213141516171819 |
- import 'package:amap_flutter_base/amap_flutter_base.dart';
- import 'package:flutter/foundation.dart';
- class MyLocationProvider with ChangeNotifier, DiagnosticableTreeMixin {
- LatLng _myLatLng;
- LatLng get myLatLng => _myLatLng;
- void getLocation(double lat,double lng) {
- _myLatLng = LatLng(lat, lng);
- notifyListeners();
- }
- /// Makes `Counter` readable inside the devtools by listing all of its properties
- @override
- void debugFillProperties(DiagnosticPropertiesBuilder properties) {
- super.debugFillProperties(properties);
- }
- }
|