Google Map Integration in Flutter, Dart, Android Studio || Flutter Side by Fresher Side

Below are the output screenshots & source code.

Just copy this source code in your editor & run the program using any emulator.

Output -

Source Code -

import 'package:flutter/material.dart';

import 'package:google_maps_flutter/google_maps_flutter.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {


_MyAppState createState() => _MyAppState();


class _MyAppState extends State<MyApp> {

GoogleMapController mapController;

final LatLng _center = const LatLng(45.521563, -122.677433);

void _onMapCreated(GoogleMapController controller) {

mapController = controller;



Widget build(BuildContext context) {

return MaterialApp(

home: Scaffold(

appBar: AppBar(

title: Text('Google Maps Integration Task #6'),



body: GoogleMap(

onMapCreated: _onMapCreated,

initialCameraPosition: CameraPosition(

target: _center,

zoom: 11.0,







18 views0 comments

Related Posts

See All

Resume Building for Freshers, IT Companies

Hello Freshers, Hope you are great. In this blog post, we are going to see how to make resume for IT Companies (Service based or Product Based) - Both. So, Let's start with our article. Very first thi

Info © Copyright 2020-21 Fresher Side. All rights reserved. Contact us