Add login button to register verify

This commit is contained in:
Moe Poi ~ 2022-05-23 01:49:16 +07:00
parent 00b0978caa
commit c94481c41a

View file

@ -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),
),
)
],
),