flutter_smenus library

Classes

SBaseDropdownMenu<T>
SBaseDropdownMenuState<T extends SBaseDropdownMenu>
SBaseMenu
The base for all regular menus (i.e. not dropdowns). This class contains functions and variables that are consistent between different types of regular menus. The State class is responsible for setting up the controller functions and the actual animation, which is a Tween. A funciton is introduced to build the child (i.e. put SMenuItems in scroll view).
SBaseMenuState<T extends SBaseMenu>
Responsible for setting up the controller functions and the actual animation, which is a Tween. A funciton is introduced to build the child (i.e. put SMenuItems in scroll view).
SDropdownMenuCascade<T>
A dropdown menu that uses an Overlay. This is a classic type of dropdown menu. Use a SMenuItem.clickable if you would like the onChange function of this dropdown to run. The item's value will be made available through it.
SDropdownMenuMorph<T>
A current WIP. Uses a Hero widget to create a dropdown menu. This can be used as a popup menu.
SDropdownMenuStyle
Style of the dropdown menu
SMenuController
The controller for all menus. Can open, close, toggle, the menu. Has a ValueNotifier for state that will notify when SMenuState changes.
SMenuItem<T>
A Menu Item. Note for the SBaseDropdownMenu : Use a SMenuItem.clickable to be able to use the onChange function.
SMenuItemStyle
Style of an item inside a menu
SMenuStyle
Style of the side menu. Styles contain colors, borders, alignments, padding
SResizableMenu
SSlideMenu
This file contains the classes that implement menus. The menus include SSlideMenu and SResizableMenu.

Enums

SDropdownMenuPosition
Position of the dropdown menu relative to the dropdown menu button
SMenuPosition
All possible positions (i.e. locations) of the menu
SMenuState
All possible menu states