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

thomas
Thomas Atkins 5 years ago
parent cbc5194691
commit a5dd9f2daf

@ -22,12 +22,11 @@ class MyHomePage extends StatefulWidget {
class _MyHomePageState extends State<MyHomePage> {
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')),
);
}

Loading…
Cancel
Save