From c94481c41a971f095629f2df2653457bbf82514a Mon Sep 17 00:00:00 2001 From: Moe Date: Mon, 23 May 2022 01:49:16 +0700 Subject: [PATCH] Add login button to register verify --- lib/components/register_verify.dart | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lib/components/register_verify.dart b/lib/components/register_verify.dart index 1fc630f..530843e 100644 --- a/lib/components/register_verify.dart +++ b/lib/components/register_verify.dart @@ -72,6 +72,24 @@ class RegisterVerifyState extends State { ), ), ], + ), + ElevatedButton( + style: ButtonStyle( + foregroundColor: + MaterialStateProperty.all(const Color(0xff8B0000)), + backgroundColor: + MaterialStateProperty.all(const Color(0xff8B0000)), + shape: MaterialStateProperty.all( + 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), + ), ) ], ),