From a5dd9f2daf16b8dfc55580b7bea9d83a3dcb13f3 Mon Sep 17 00:00:00 2001 From: Thomas Atkins Date: Sat, 9 Feb 2019 12:03:01 -0600 Subject: [PATCH] DB is looking a lot better now that she has all her data in order... time to try to dynamicly create view for diffrent lots --- flutter_app/lib/main.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flutter_app/lib/main.dart b/flutter_app/lib/main.dart index e85a06c..22827e4 100644 --- a/flutter_app/lib/main.dart +++ b/flutter_app/lib/main.dart @@ -22,12 +22,11 @@ class MyHomePage extends StatefulWidget { class _MyHomePageState extends State { final db = Firestore.instance.collection('lots'); - @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text('Lot 1')), - body: _buildBody(context, db), + body: _buildBody(context, db.document('Lot1').collection('stalls')), ); }