-
-
Save ijoschek/5a14829f2cd738d70eb84205c8361fea to your computer and use it in GitHub Desktop.
flutter_firestore_tut
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:cloud_firestore/cloud_firestore.dart'; | |
class Home extends StatefulWidget { | |
@override | |
_Home createState() => _Home(); | |
} | |
class _Home extends State<StatefulWidget> { | |
//... | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar( | |
title: Text('Flutter Firestore Tutorial'), | |
), | |
body: Padding( | |
padding: const EdgeInsets.all(18.0), | |
child: Column( | |
crossAxisAlignment: CrossAxisAlignment.stretch, | |
children: <Widget>[ | |
//... | |
], | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment