SidebarProps constructor
const
SidebarProps({
- required List<
Widget> children, - Widget? header,
- bool isCollapsed = false,
- void onCollapseChanged(
- bool collapsed
- double width = 280,
- double collapsedWidth = 64,
- bool showCollapseToggle = true,
- bool rightSide = false,
- void onToggleCollapse()?,
- ArcaneStyleData? styles,
- ArcaneDecoration? decoration,
Implementation
const SidebarProps({
required this.children,
this.header,
this.footer,
this.isCollapsed = false,
this.onCollapseChanged,
this.width = 280,
this.collapsedWidth = 64,
this.showCollapseToggle = true,
this.rightSide = false,
this.onToggleCollapse,
this.styles,
this.decoration,
});