Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

flutter google maps tutorial

setup

android/app/src/main/androidmanifest.xml

<manifest ...
  <application ...
    <meta-data android:name="com.google.android.geo.api_key"
               android:value="your key here"/>

ios/runner/appdelegate.swift

import uikit
import flutter
import googlemaps

@uiapplicationmain
@objc class appdelegate: flutterappdelegate {
  override func application(
    _ application: uiapplication,
    didfinishlaunchingwithoptions launchoptions: [uiapplication.launchoptionskey: any]?
  ) -> bool {
    gmsservices.provideapikey("your key here")
    generatedpluginregistrant.register(with: self)
    return super.application(application, didfinishlaunchingwithoptions: launchoptions)
  }
}

lib/.env.dart

const string googleapikey = 'your key here';

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Top