Sider constructor
const
Sider({
- Key? key,
- required Widget child,
- SiderBreakpoint? breakpoint,
- bool? collapsed,
- double collapsedWidth = 80,
- bool collapsible = false,
- bool defaultCollapsed = false,
- bool reverseArrow = false,
- Theme theme = Theme.dark,
- Widget? trigger,
- double width = 200,
- void onBreakpoint()?,
- void onCollapse(
- bool collapsed
Implementation
const Sider({
Key? key,
required this.child,
this.breakpoint,
this.collapsed,
this.collapsedWidth = 80,
this.collapsible = false,
this.defaultCollapsed = false,
this.reverseArrow = false,
this.theme = Theme.dark,
this.trigger,
this.width = 200,
this.onBreakpoint,
this.onCollapse,
}) : super(key: key);