update local popup button
This commit is contained in:
@@ -102,8 +102,14 @@ class _LocalPopupMenuButtonState extends State<LocalPopupMenuButton> {
|
||||
value: choice,
|
||||
child: Row(
|
||||
children: <Widget>[
|
||||
LocalText(context, choice.textKey ?? "",
|
||||
color: choice.enabled ? primaryColor : Colors.grey),
|
||||
choice.text != null
|
||||
? Text(choice.text!,
|
||||
style: TextStyle(
|
||||
fontSize: 13,
|
||||
color:
|
||||
choice.enabled ? primaryColor : Colors.grey))
|
||||
: LocalText(context, choice.textKey ?? "",
|
||||
color: choice.enabled ? primaryColor : Colors.grey),
|
||||
SizedBox(
|
||||
width: 10,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user