Updated widget
This commit is contained in:
parent
57ea482f66
commit
4b6326dd95
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue