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
Hi! I checked the API. Using a GlobalKey<NavigationViewState> one can know whether the minimal pane is open, but that won't help you with the compact pane. As of now there seems to be no way of getting this.
Maybe you could change the crossAxisCount based on the space you have available by wrapping your widget with a LayoutBuilder?
@h3x4d3c1m4l Indeed, there is no current api in NavigationViewState to account for that. As a workaround, you can try to do the following in the children of NavigationView:
final isOpen =PageStorage.of(context).readState(
context,
identifier:'compactOverlayOpen',
) asbool?
I want to use multiple
crossAxisCount
inGridView
like below. How can i check ?The text was updated successfully, but these errors were encountered: