PanelHeaderWidget class
The widget that will be shown above the panel, regardless of PanelState (A persistent widget).
This can be used to drag the panel. (Ofcourse, other parts of the panel will also do).
Generally, a 'pill' or a 'tablet' kind of header can be shown here, that hints user to scroll.
If the height of this widget is not calculatable, it will NOT be shown.
Constructors
- PanelHeaderWidget({Widget? headerContent, PanelDecoration decoration = const PanelDecoration(), PanelHeaderOptions options = const PanelHeaderOptions(), VoidCallback? onTap})
-
const
Properties
- decoration → PanelDecoration
-
The decoration to be applied on the headerContent.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerContent → Widget?
-
The widget content.
final
- onTap → VoidCallback?
-
A callback that is called whenever user taps the
headerContent. Useful in cases when tapping expands the panel.
final
- options → PanelHeaderOptions
-
This denotes additional capabilities of PanelHeaderWidget.
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