PanelContent class
The content to be displayed in the panel.
Constructors
-
PanelContent({PanelHeaderWidget headerWidget = const PanelHeaderWidget(), required List<
Widget> panelContent, Widget? bodyContent, PanelCollapsedWidget collapsedWidget = const PanelCollapsedWidget()}) -
const
Properties
- bodyContent → Widget?
-
The widget that will be shown underneath the panel.
This can be ignored if you already have your own
content ready and using the SlidingPanel additionally.
final
- collapsedWidget → PanelCollapsedWidget
-
The widget that is displayed over panelContent when collapsed.
final
-
The widget that will be shown below the panel,
regardless of PanelState (A persistent widget).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerWidget → PanelHeaderWidget
-
The widget that will be shown above the panel,
regardless of PanelState (A persistent widget).
final
-
panelContent
→ List<
Widget> -
The widgets that are shown as the panel content.
When collapsed, content till collapsedWidget is shown.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited