update shipment filter

This commit is contained in:
tzw
2024-01-31 17:54:22 +06:30
parent 9f88d4e525
commit a592413449
5 changed files with 50 additions and 27 deletions

View File

@@ -74,23 +74,22 @@ class _LocalPopupMenuButtonState extends State<LocalPopupMenuButton> {
//color: Colors.white,
),
child: Stack(
fit: StackFit.expand,
alignment: Alignment.center,
children: <Widget>[
Icon(
widget.buttonIcon ?? Icons.filter_list,
color: Colors.white,
),
hightlight
? Positioned(
bottom: 0,
bottom: 15,
right: 0,
child: Container(
width: 10,
height: 10,
decoration: new BoxDecoration(
shape: BoxShape.circle,
color: secondaryColor,
color: secondaryColor,
),
),
)
@@ -106,11 +105,12 @@ class _LocalPopupMenuButtonState extends State<LocalPopupMenuButton> {
choice.text != null
? Text(choice.text!,
style: TextStyle(
fontSize: 13,
fontSize: 14,
color:
choice.enabled ? primaryColor : Colors.grey))
: LocalText(context, choice.textKey ?? "",
color: choice.enabled ? primaryColor : Colors.grey),
color: choice.enabled ? primaryColor : Colors.grey,
fontSize: 14),
SizedBox(
width: 10,
),
@@ -119,8 +119,7 @@ class _LocalPopupMenuButtonState extends State<LocalPopupMenuButton> {
Icons.check,
color: Colors.grey,
)
: Container(
),
: Container(),
],
),
);