Markdown. Privacy Policies. Injection dep updated

This commit is contained in:
vjrj 2018-07-12 09:57:31 +02:00
parent 8301e6a40e
commit f0ab472b3a
21 changed files with 487 additions and 25 deletions

View file

@ -9,7 +9,7 @@ import 'package:flutter_simple_dependency_injection/injector.dart';
Future<YourLocation> openPlacesDialog(GlobalKey<ScaffoldState> sc) async {
Mode _mode = Mode.overlay;
String gmapKey = Injector.getInjector().get(String, "gmapKey");
String gmapKey = Injector.getInjector().get<String>(key: "gmapKey");
GoogleMapsPlaces _places = new GoogleMapsPlaces(gmapKey);
Prediction p = await showGooglePlacesAutocomplete(
context: sc.currentContext,