MapIt

MapIt package lets you add map in your app,search and place markers.

Installation

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  mapit: ^0.0.10
  1. Import the package and use it in your Flutter App.
import 'package:mapit/mapit.dart';

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;
        },),  
      ),  
    );  
  }  
}

Next Goals

  • x Use address Callback functions. Now, you can specify the save address from GoogleMapScreen.

Libraries

mapit