SideMenuStyle constructor

SideMenuStyle({
  1. double? openSideMenuWidth = 300,
  2. double? compactSideMenuWidth = 70,
  3. bool showHamburger = false,
  4. Color? backgroundColor,
  5. Color? selectedColor,
  6. Color? hoverColor = Colors.transparent,
  7. Color? selectedHoverColor,
  8. SideMenuDisplayMode? displayMode = SideMenuDisplayMode.auto,
  9. TextStyle? selectedTitleTextStyle,
  10. TextStyle? unselectedTitleTextStyle,
  11. Color? selectedIconColor = Colors.black,
  12. Color? unselectedIconColor = Colors.black54,
  13. double? iconSize = 24,
  14. TextStyle? selectedTitleTextStyleExpandable,
  15. TextStyle? unselectedTitleTextStyleExpandable,
  16. Color? selectedIconColorExpandable = Colors.black,
  17. Color? unselectedIconColorExpandable = Colors.black54,
  18. double? iconSizeExpandable = 24,
  19. Color? arrowOpen = Colors.black,
  20. Color? arrowCollapse = Colors.black54,
  21. BoxDecoration? decoration,
  22. Color? toggleColor = Colors.black54,
  23. EdgeInsetsGeometry itemOuterPadding = const EdgeInsets.symmetric(horizontal: 5.0),
  24. double itemInnerSpacing = 8.0,
  25. double itemHeight = 50.0,
  26. BorderRadius itemBorderRadius = const BorderRadius.all(Radius.circular(5.0)),
  27. bool showTooltip = true,
})

Style class to configure SideMenu

Implementation

SideMenuStyle({
  this.openSideMenuWidth = 300,
  this.compactSideMenuWidth = 70,
  this.showHamburger = false,
  this.backgroundColor,
  this.selectedColor,
  this.hoverColor = Colors.transparent,
  this.selectedHoverColor,
  this.displayMode = SideMenuDisplayMode.auto,
  this.selectedTitleTextStyle,
  this.unselectedTitleTextStyle,
  this.selectedIconColor = Colors.black,
  this.unselectedIconColor = Colors.black54,
  this.iconSize = 24,
  this.selectedTitleTextStyleExpandable,
  this.unselectedTitleTextStyleExpandable,
  this.selectedIconColorExpandable = Colors.black,
  this.unselectedIconColorExpandable = Colors.black54,
  this.iconSizeExpandable = 24,
  this.arrowOpen = Colors.black,
  this.arrowCollapse = Colors.black54,
  this.decoration,
  this.toggleColor = Colors.black54,
  this.itemOuterPadding = const EdgeInsets.symmetric(horizontal: 5.0),
  this.itemInnerSpacing = 8.0,
  this.itemHeight = 50.0,
  this.itemBorderRadius = const BorderRadius.all(
    Radius.circular(5.0),
  ),
  this.showTooltip = true,
});