FSidebar constructor
FSidebar({
- required List<
Widget> children, - Widget? header,
- FSidebarStyle style()?,
- bool autofocus = false,
- FocusScopeNode? focusNode,
- TraversalEdgeBehavior? traversalEdgeBehavior,
- double? width,
- Key? key,
Creates a sidebar with a list of children that will be wrapped in a ListView.
Implementation
FSidebar({
required List<Widget> children,
this.header,
this.footer,
this.style,
this.autofocus = false,
this.focusNode,
this.traversalEdgeBehavior,
this.width,
super.key,
}) : assert(
focusNode == null || traversalEdgeBehavior == null,
'Cannot provide both a focusNode and traversalEdgeBehavior',
),
child = ListView(children: children);