SideMenu class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- SideMenu
Constructors
-
SideMenu({Key? key, required List items, required SideMenuController controller, Widget? title, SideMenuStyle? style, bool? showToggle = false, ValueChanged<
SideMenuDisplayMode> ? onDisplayModeChanged, Duration? displayModeToggleDuration, int? collapseWidth = 600}) - Easy Sidemenu widget
Properties
-
By default footer only shown when display mode is open
If you want always shown footer set it to true
final
- collapseWidth → int?
-
Width when will our open menu collapse into the compact one
final
- controller → SideMenuController
-
Page controller to control PageView widget
final
- displayModeToggleDuration → Duration?
-
Duration of
displayMode
toggling durationfinal -
Footer widget will show on bottom of SideMenu
when
displayMode
was SideMenuDisplayMode.openfinal - global → Global
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- items → List
-
List of SideMenuItem or SideMenuExpansionItem on SideMenu
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
onDisplayModeChanged
→ ValueChanged<
SideMenuDisplayMode> ? -
Notify when SideMenuDisplayMode changed
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showToggle → bool?
-
Show toggle button to switch between open and compact display mode
If the display mode is auto, this button will not be displayed
final
-
List of
SideMenuItemWithGlobal
orSideMenuExpansionItemWithGlobal
on SideMenufinal - style → SideMenuStyle?
-
SideMenu can be configured by this
final
- title → Widget?
-
Title widget will shows on top of all items,
it can be a logo or a Title text
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< SideMenu> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited