Last updated:
0 purchases
flutter map location picker
flutter_map_location_picker #
A flutter plugin for picking location by using flutter_map and geocoding. Completely free and highly customizable
github
Demo #
Usage #
Add dependency #
Please check the latest version before installation.
If there is any problem with the new version, please use the previous version
dependencies:
flutter:
sdk: flutter
# add flutter_map_location_picker
flutter_map_location_picker: ^0.0.4
copied to clipboard
How To Use #
Add the following imports to your Dart code
import 'package:flutter_map_location_picker/flutter_map_location_picker.dart';
copied to clipboard
You can now add a MapLocationPicker widget to your widget tree. You can process the picked location by using the onPicked parameter.
MapLocationPicker(initialLatitude: null, initialLongitude: null, onPicked: (result){
// you can get the location result here
print(result.completeAddress);
print(result.latitude);
print(result.longitude);
})
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.