sliding_panel_pro library
Classes
- BackdropConfig
- Various configurations related to making SlidingPanel look and act like a backdrop widget.
- PanelAutoSizing
- If provided, the panel's height will be automatically calculated based on the content. This technically modifies the PanelSize parameter as the panel's content size after panel is created. Also repeats this process when resolution of device changes. (e.g., Orientation change).
- PanelClosedOptions
- This helps you to execute specific actions when panel is closed.
- PanelCollapsedWidget
- The widget that is displayed over PanelContent.panelContent when collapsed.
- PanelContent
- The content to be displayed in the panel.
- PanelController
- A controller that controls the SlidingPanel programmatically.
- PanelDecoration
- The decoration to be applied on the PanelContent. To see detailed description of properties, please see BoxDecoration, as most of the properties are derived from it.
- The widget that will be shown below the panel, regardless of PanelState (A persistent widget).
- PanelHeaderOptions
- This denotes additional capabilities of PanelHeaderWidget.
- PanelHeaderWidget
- The widget that will be shown above the panel, regardless of PanelState (A persistent widget).
- PanelMaxWidth
- Specify maximum width of the panel. Used to specify BoxConstraints in Container.
- PanelScrollData
- Contains ScrollController used by the panel and also contains some useful properties to use that controller.
- PanelSize
- Provide different height of the panel in percentage of screen's height according to panel's current state. None of these should be null.
- PanelSizeData
- This class gives you the PanelSize parameters of the current panel.
- SafeAreaConfig
- Apply necessary top, bottom and sides (left and right) padding to the panel to avoid OS intrusions like notch, status bar and nav-bar.
- SlidingPanel
- SlidingPanel
- SlidingPanelResult
- Denotes the result returned by the SlidingPanel.
Enums
- BackPressBehavior
- This decides the action to be taken when user presses the back button.
- InitialPanelState
- This decides the initial state of the panel.
- PanelPoppingBehavior
- When any of the BackPressBehavior is given, if the user taps back button, panel's state is checked according to BackPressBehavior and animates accordingly (if needed).
- PanelSnapping
- Apply snapping effect to panel while opening / closing.
- PanelState
- This describes the state of the panel.
Functions
-
showModalSlidingPanel<
T> ({required BuildContext context, required SlidingPanel panel(BuildContext)}) → Future< T?> - Shows a modal SlidingPanel.