Skip to content

Instantly share code, notes, and snippets.

@adamcyber1
Created September 22, 2020 05:34
Show Gist options
  • Save adamcyber1/a6f4ea31b17523b156f1280a50453bf1 to your computer and use it in GitHub Desktop.
Save adamcyber1/a6f4ea31b17523b156f1280a50453bf1 to your computer and use it in GitHub Desktop.
Doogle Grive
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