Updated widget

This commit is contained in:
Patrick Alvin Alcala 2026-02-23 17:02:22 +08:00
parent 57ea482f66
commit 4b6326dd95

View file

@ -13,8 +13,8 @@ class ButtonWidget extends StatelessWidget {
Widget build(BuildContext context) {
return ElevatedButton(
style: ElevatedButton.styleFrom(
foregroundColor: const Color.fromRGBO(250, 250, 250, 1), // text color
backgroundColor: disabled ? const Color.fromARGB(112, 13, 109, 253) : const Color(0xff0d6efd),
foregroundColor: const Color.fromRGBO(250, 250, 250, 1),
backgroundColor: disabled ? const Color.fromRGBO(13, 109, 253, 0.435) : const Color.fromRGBO(13, 109, 253, 0.8),
elevation: disabled ? 0 : 4,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(8), // rounded corners