Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ....
- FlatButton(
- child: Text("Save"),
- onPressed: () {
- _movieCollection.document().setData({
- "name": _textMovieController.text,
- "votes": 0
- }).whenComplete(() => Navigator.of(context).pop());
- },
- ....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement