Skip to content

Instantly share code, notes, and snippets.

@iskakaushik
Created February 11, 2019 19:21
Show Gist options
  • Save iskakaushik/693e9b54331960a59ee5ac20ec8b25e1 to your computer and use it in GitHub Desktop.
Save iskakaushik/693e9b54331960a59ee5ac20ec8b25e1 to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
class Issue25169 extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Center(
child: GoogleMap(
initialCameraPosition: CameraPosition(
target: const LatLng(37.7749, 122.4194),
zoom: 11.0,
),
onMapCreated: (_) => print("Map Created"),
mapType: MapType.normal,
myLocationEnabled: true,
),
);
}
}
void main() {
runApp(MaterialApp(home: Issue25169()));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment