Side Panel
Design System - Side Panel component

// Sample code
<SidePanel type="dynamic" position="right" defaultOpenWidth={300} defaultClosedWidth={64} header={<h3>Menu Header</h3>} footer={<p>Footer Content</p>} sections={[<p>Section 1</p>, <p>Section 2</p>]} closedContents={<p>Compact View</p>} isDraggable={true} > <p>Main Content Here</p> </SidePanel>// Sample code
SlideOverMenu(
isLeft: false,
skipCollapsedState: true,
expandedContentAlignment: MainAxisAlignment.spaceBetween,
expandedFooter: Column(
children: [
DigitButton(
label: 'Action', onPressed: (){},
type: DigitButtonType.secondary,
size: DigitButtonSize.large,
mainAxisSize: MainAxisSize.max,
)
],
),
sections: [
Section(
expandedContent: [
Text('Item 1.1'),
Text('Item 1.2'),
Text('Item 1.3'),
],
),
Section(
expandedContent: [
Text('Item 2.1'),
Text('Item 2.2'),
],
),
Section(
expandedContent: [
Text('Item 3.1'),
Text('Item 3.2'),
Text('Item 3.3'),
],
),
],
);Anatomy

Variants


Properties






Property Configuration Table
Property
Value
Default
Property
Value
Default
Usage Guide


Change log
Date
Number
Notes
Design Checklist
Last updated
Was this helpful?