Created
February 17, 2020 08:31
-
-
Save PeterHdd/9990f24c825edef31887e34af1d4e074 to your computer and use it in GitHub Desktop.
article
This file contains hidden or 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
| class _RegisterPetState extends State<RegisterPet> { | |
| final _formKey = GlobalKey<FormState>(); | |
| final listOfPets = ["Cats", "Dogs", "Rabbits"]; | |
| String dropdownValue = 'Cats'; | |
| final nameController = TextEditingController(); | |
| final ageController = TextEditingController(); | |
| final dbRef = FirebaseDatabase.instance.reference().child("pets"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment