Sider constructor

const Sider({
  1. Key? key,
  2. required Widget child,
  3. SiderBreakpoint? breakpoint,
  4. bool? collapsed,
  5. double collapsedWidth = 80,
  6. bool collapsible = false,
  7. bool defaultCollapsed = false,
  8. bool reverseArrow = false,
  9. Theme theme = Theme.dark,
  10. Widget? trigger,
  11. double width = 200,
  12. void onBreakpoint()?,
  13. void onCollapse(
    1. 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);