forgot_pass_body - Fixed button colors

This commit is contained in:
Matthew Patrick 2022-04-29 19:59:47 +07:00
parent 46bf6f5ec4
commit c4ae1f75a7

View file

@ -53,13 +53,13 @@ class _ForgotPassBodyState extends State<ForgotPassBody> {
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>(
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<ForgotPassBody> {
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>(
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()));