Last updated:
0 purchases
mapit
MapIt #
MapIt package lets you add map in your app,search and place markers.
Installation #
Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
mapit: ^0.0.10
copied to clipboard
Import the package and use it in your Flutter App.
import 'package:mapit/mapit.dart';
copied to clipboard
Example #
There are a number of properties that you can modify:
selectedLocation
address CallBack
class ShowMapScreen extends StatelessWidget {
const ShowMapScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: const GoogleMapScreen(address: (val){
var location=val;
},),
),
);
}
}
copied to clipboard
Next Goals #
✅ Use address Callback functions.
Now, you can specify the save address from GoogleMapScreen.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.