Created
February 11, 2019 19:21
-
-
Save iskakaushik/693e9b54331960a59ee5ac20ec8b25e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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