You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found an issue where when in mobile we are not able to sort the table anymore as the condition to show the popMenu is conditioned with the showSelect boolean so I wonder, why not if it is possible to show the PopMenu for the sort in the mobileHeader widget ?
I read the code and I guess it can be modified like below?
I found an issue where when in mobile we are not able to sort the table anymore as the condition to show the popMenu is conditioned with the showSelect boolean so I wonder, why not if it is possible to show the PopMenu for the sort in the mobileHeader widget ?
I read the code and I guess it can be modified like below?
something like this ?
mobileHeader( showSelect: widget.showSelect && widget.selecteds != null, showSort: (widget.onSort != null)),
Then the mobileHeader widget could look like this
Widget mobileHeader(bool? showSelect, bool? showSort) { return Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ if (showSelect==true) Checkbox(...), if(showSort==true) PopupMenuButton(...) ], ); }
The text was updated successfully, but these errors were encountered: