Created
September 22, 2020 05:34
-
-
Save adamcyber1/a6f4ea31b17523b156f1280a50453bf1 to your computer and use it in GitHub Desktop.
Doogle Grive
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
Center( | |
child: Column( | |
children: [ | |
SizedBox( | |
height: 50, | |
), | |
Padding( | |
padding: const EdgeInsets.all(20.0), | |
child: TextField( | |
onChanged: (text) { | |
code = text; | |
}, | |
decoration: InputDecoration( | |
border: OutlineInputBorder( | |
borderRadius: BorderRadius.circular(20), | |
borderSide: BorderSide(color: Colors.teal), | |
), | |
hintText: 'Enter your confirm code here...'), | |
), | |
), | |
RaisedButton(onPressed: confirmUser, child: Text("Submit Code")), | |
RaisedButton( | |
onPressed: () { | |
Navigator.pushReplacement( | |
context, MaterialPageRoute(builder: (_) => Login())); | |
}, | |
child: Text("Go Back"), | |
), | |
], | |
)), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment