Highlight save button
This commit is contained in:
parent
fd40d4f411
commit
ae9e5c19b8
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in New Issue