SliverStickyCollapsablePanel constructor
const
SliverStickyCollapsablePanel({
- Key? key,
- required ScrollController scrollController,
- required StickyCollapsablePanelController controller,
- required HeaderBuilder headerBuilder,
- Widget? sliverPanel,
- bool sticky = true,
- bool overlapsContent = false,
- bool defaultExpanded = true,
- ExpandCallback? expandCallback,
- bool disableCollapsable = false,
- bool iOSStyleSticky = false,
- EdgeInsetsGeometry paddingBeforeCollapse = const EdgeInsets.only(),
- EdgeInsetsGeometry paddingAfterCollapse = const EdgeInsets.only(),
- Size? headerSize,
Implementation
const SliverStickyCollapsablePanel({
Key? key,
required ScrollController scrollController,
required StickyCollapsablePanelController controller,
required HeaderBuilder headerBuilder,
Widget? sliverPanel,
bool sticky = true,
bool overlapsContent = false,
bool defaultExpanded = true,
ExpandCallback? expandCallback,
bool disableCollapsable = false,
bool iOSStyleSticky = false,
EdgeInsetsGeometry paddingBeforeCollapse = const EdgeInsets.only(),
EdgeInsetsGeometry paddingAfterCollapse = const EdgeInsets.only(),
Size? headerSize,
}) : this._(
key: key,
scrollController: scrollController,
panelController: controller,
headerBuilder: headerBuilder,
sliverPanel: sliverPanel,
sticky: sticky,
overlapsContent: overlapsContent,
defaultExpanded: defaultExpanded,
expandCallback: expandCallback,
disableCollapsable: disableCollapsable,
iOSStyleSticky: iOSStyleSticky,
paddingBeforeCollapse: paddingBeforeCollapse,
paddingAfterCollapse: paddingAfterCollapse,
headerSize: headerSize,
);