Highlight save button

This commit is contained in:
Hillel Coren 2022-07-31 12:50:40 +03:00
parent fd40d4f411
commit ae9e5c19b8
1 changed files with 6 additions and 0 deletions

View File

@ -185,6 +185,12 @@ class EditScaffold extends StatelessWidget {
}
return OutlinedButton(
style: action == EntityAction.save
? ButtonStyle(
backgroundColor:
MaterialStateProperty.all(
Colors.green))
: null,
child: ConstrainedBox(
constraints: BoxConstraints(
minWidth: isDesktop(context) ? 60 : 0),