Last changes not published

This commit is contained in:
vjrj 2026-03-05 01:18:27 +01:00
parent ac65ccf990
commit 21ec08303a
43 changed files with 607 additions and 613 deletions

View file

@ -1,12 +1,12 @@
import 'dart:async';
import 'package:fires_flutter/models/yourLocation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_google_places_autocomplete/flutter_google_places_autocomplete.dart';
import 'package:fires_flutter/models/yourLocation.dart';
import 'generated/i18n.dart';
import 'package:flutter_simple_dependency_injection/injector.dart';
import 'generated/i18n.dart';
Future<YourLocation> openPlacesDialog(GlobalKey<ScaffoldState> sc) async {
Mode _mode = Mode.overlay;
String gmapKey = Injector.getInjector().get<String>(key: "gmapKey");
@ -16,7 +16,7 @@ Future<YourLocation> openPlacesDialog(GlobalKey<ScaffoldState> sc) async {
hint: S.of(sc.currentContext).typeTheNameOfAPlace,
apiKey: gmapKey,
onError: (res) {
sc.currentState
ScaffoldMessenger.of(sc.currentContext)
.showSnackBar(new SnackBar(content: new Text(res.errorMessage)));
print('Error $res');
},