diff --git a/.flutter-plugins b/.flutter-plugins index 09a0ba7..25f222c 100644 --- a/.flutter-plugins +++ b/.flutter-plugins @@ -1,6 +1,6 @@ -cloud_firestore=/Users/daniloperez/programas/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.12.9+5/ -firebase_auth=/Users/daniloperez/programas/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.14.0+5/ -firebase_core=/Users/daniloperez/programas/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.0+9/ -firebase_storage=/Users/daniloperez/programas/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage-3.0.6/ -image_picker=/Users/daniloperez/programas/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.0+3/ -location=/Users/daniloperez/programas/flutter/.pub-cache/hosted/pub.dartlang.org/location-2.3.5/ +cloud_firestore=C:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\cloud_firestore-0.12.9+5\\ +firebase_auth=C:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\firebase_auth-0.14.0+5\\ +firebase_core=C:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\firebase_core-0.4.0+9\\ +firebase_storage=C:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\firebase_storage-3.0.6\\ +image_picker=C:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\image_picker-0.6.0+3\\ +location=C:\\src\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\location-2.3.5\\ diff --git a/android/local.properties b/android/local.properties index 1208035..99c42e6 100644 --- a/android/local.properties +++ b/android/local.properties @@ -1,5 +1,5 @@ -sdk.dir=/Users/daniloperez/Library/Android/sdk -flutter.sdk=/Users/daniloperez/programas/flutter +sdk.dir=C:\\Users\\fblascke\\AppData\\Local\\Android\\sdk +flutter.sdk=C:\\src\\flutter flutter.buildMode=debug flutter.versionName=1.0.0 flutter.versionCode=1 \ No newline at end of file diff --git a/lib/main.dart b/lib/main.dart index 2a275c2..802088d 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -8,6 +8,7 @@ class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( + debugShowCheckedModeBanner: false, title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, @@ -15,4 +16,4 @@ class MyApp extends StatelessWidget { home: HomePage(), ); } -} \ No newline at end of file +} diff --git a/lib/pages/create-account/create-account.page.dart b/lib/pages/create-account/create-account.page.dart index 47fd623..0b94c88 100644 --- a/lib/pages/create-account/create-account.page.dart +++ b/lib/pages/create-account/create-account.page.dart @@ -49,11 +49,14 @@ class _CreateAccountPageState extends State { } final databaseReference = Firestore.instance; - await databaseReference.collection("usuarios").document(this.email).setData({ + await databaseReference + .collection("usuarios") + .document(this.email) + .setData({ 'nome': this.nome, 'email': this.email, 'foto': downloadUrl, - 'latitude' : currentLocation.latitude, + 'latitude': currentLocation.latitude, 'longitude': currentLocation.longitude }); diff --git a/lib/pages/home/home.page.dart b/lib/pages/home/home.page.dart index 1c699cc..2ce1e7b 100644 --- a/lib/pages/home/home.page.dart +++ b/lib/pages/home/home.page.dart @@ -110,7 +110,11 @@ class _HomePageState extends State { child: Column( children: [ if (file != null) - Image.file(file, width: 100, height: 100,), + Image.file( + file, + width: 100, + height: 100, + ), Container( padding: EdgeInsets.fromLTRB(10, 0, 10, 0), width: double.infinity,