From c4ae1f75a7f6c7f8d64c29d11fc8eef71f1748e7 Mon Sep 17 00:00:00 2001 From: Matthew Patrick Date: Fri, 29 Apr 2022 19:59:47 +0700 Subject: [PATCH] forgot_pass_body - Fixed button colors --- lib/components/forgot_pass_body.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/components/forgot_pass_body.dart b/lib/components/forgot_pass_body.dart index 9e7b3f3..fe02014 100644 --- a/lib/components/forgot_pass_body.dart +++ b/lib/components/forgot_pass_body.dart @@ -53,13 +53,13 @@ class _ForgotPassBodyState extends State { ElevatedButton( style: ButtonStyle( foregroundColor: - MaterialStateProperty.all(Colors.blue.shade800), + MaterialStateProperty.all(const Color(0xff8B0000)), backgroundColor: - MaterialStateProperty.all(Colors.blue.shade800), + MaterialStateProperty.all(const Color(0xff8B0000)), shape: MaterialStateProperty.all( RoundedRectangleBorder( borderRadius: BorderRadius.circular(18.0), - side: const BorderSide(color: Colors.blue)))), + side: const BorderSide(color: Colors.red)))), onPressed: () { Navigator.push(context, MaterialPageRoute(builder: (context) => const Otp())); @@ -72,13 +72,13 @@ class _ForgotPassBodyState extends State { ElevatedButton( style: ButtonStyle( foregroundColor: - MaterialStateProperty.all(Colors.blue.shade800), + MaterialStateProperty.all(const Color(0xff8B0000)), backgroundColor: - MaterialStateProperty.all(Colors.blue.shade800), + MaterialStateProperty.all(const Color(0xff8B0000)), shape: MaterialStateProperty.all( RoundedRectangleBorder( borderRadius: BorderRadius.circular(18.0), - side: const BorderSide(color: Colors.blue)))), + side: const BorderSide(color: Colors.red)))), onPressed: () { Navigator.push(context, MaterialPageRoute(builder: (context) => const Login()));