PanelHeaderOptions class

This denotes additional capabilities of PanelHeaderWidget.

Taken from AppBar.

Constructors

PanelHeaderOptions({bool primary = true, bool centerTitle = false, double elevation = 8.0, bool forceElevated = false, bool alwaysOnTop = true, bool floating = false, Widget? leading, List<Widget>? trailing, MainAxisAlignment iconsAlignment = MainAxisAlignment.center})
const

Properties

alwaysOnTop bool
Whether the header stays on top of the content all the time. If false, the header also gets scrolled with PanelContent.panelContent.
final
centerTitle bool
Whether to center the PanelHeaderWidget.headerContent.
final
elevation double
This controls the size of the shadow below the header.
final
floating bool
Whether the header should become visible when user scrolls in reverse direction.
final
forceElevated bool
Whether to apply elevation even if the content is not scrolled.
final
hashCode int
The hash code for this object.
no setterinherited
iconsAlignment MainAxisAlignment
How the leading and trailing should be vertically aligned in the header.
final
leading Widget?
A widget to display before the PanelHeaderWidget.headerContent.
final
primary bool
If this is true, the top padding specified by the MediaQuery will be added to the top of the header.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trailing List<Widget>?
Widgets to display after the PanelHeaderWidget.headerContent.
final

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