toNavigablePanelStackData

Transforms the PanelList into a LiveData. This is useful when using createNavigablePanelContext to create a NavigablePanelContext.

panel is the panel that is currently active.

Parameters

P

The type of the panel. It needs to be a GenericDismissablePanel and a PanelDescriptorProvider.

C

The type of PanelContext.