Last active
March 8, 2020 09:32
-
-
Save sirateek/997747988fd49f184596aae99e64eceb to your computer and use it in GitHub Desktop.
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
String pddescription = "Please wait..."; | |
@override | |
void initState() { | |
super.initState(); | |
Firestore.instance.collection("catalog").document(widget.pdname).get().then((value) { | |
setState(() { | |
pddescription = value.data["description"]; | |
}); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment