Added fire locations
This commit is contained in:
parent
c4438365ab
commit
8e4e469eb8
15 changed files with 607 additions and 49 deletions
|
|
@ -1,4 +1,18 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'firesApp.dart';
|
||||
import 'package:comunes_flutter/comunes_flutter.dart';
|
||||
import 'dart:async';
|
||||
import 'globals.dart' as globals;
|
||||
|
||||
void main() => runApp(new FiresApp());
|
||||
Future<String> getGMapKey() async {
|
||||
Secret secret = await SecretLoader(secretPath: 'assets/private-settings.json')
|
||||
.load('gmap_key');
|
||||
return secret.apiKey;
|
||||
}
|
||||
|
||||
void main() {
|
||||
getGMapKey().then((String gmapKey) {
|
||||
globals.gmapKey = gmapKey;
|
||||
runApp(new FiresApp());
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue