Add login button to register verify
This commit is contained in:
parent
00b0978caa
commit
c94481c41a
1 changed files with 18 additions and 0 deletions
|
@ -72,6 +72,24 @@ class RegisterVerifyState extends State<RegisterVerify> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
),
|
||||||
|
ElevatedButton(
|
||||||
|
style: ButtonStyle(
|
||||||
|
foregroundColor:
|
||||||
|
MaterialStateProperty.all(const Color(0xff8B0000)),
|
||||||
|
backgroundColor:
|
||||||
|
MaterialStateProperty.all(const Color(0xff8B0000)),
|
||||||
|
shape: MaterialStateProperty.all<RoundedRectangleBorder>(
|
||||||
|
RoundedRectangleBorder(
|
||||||
|
borderRadius: BorderRadius.circular(18.0),
|
||||||
|
side: const BorderSide(color: Colors.black)))),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pushReplacementNamed(context, '/login');
|
||||||
|
},
|
||||||
|
child: const Text(
|
||||||
|
'Login',
|
||||||
|
style: TextStyle(color: Colors.white, fontSize: 20),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue