Highlight save button
This commit is contained in:
parent
fd40d4f411
commit
ae9e5c19b8
|
|
@ -185,6 +185,12 @@ class EditScaffold extends StatelessWidget {
|
||||||
}
|
}
|
||||||
|
|
||||||
return OutlinedButton(
|
return OutlinedButton(
|
||||||
|
style: action == EntityAction.save
|
||||||
|
? ButtonStyle(
|
||||||
|
backgroundColor:
|
||||||
|
MaterialStateProperty.all(
|
||||||
|
Colors.green))
|
||||||
|
: null,
|
||||||
child: ConstrainedBox(
|
child: ConstrainedBox(
|
||||||
constraints: BoxConstraints(
|
constraints: BoxConstraints(
|
||||||
minWidth: isDesktop(context) ? 60 : 0),
|
minWidth: isDesktop(context) ? 60 : 0),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue