base library

Classes

SBase
The base for all menus. This class contains functions and variables that are consistent between different types of menus. The State class is responsible for setting up the controller and animation controller. SMenuController functions such as open or close must be implemented by derived class.
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).
SBaseState<T extends SBase>
Responsible for setting up the controller and animation controller. SMenuController functions such as open or close must be implemented by derived class.
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.
SMenuItemStyle
Style of an item inside a menu
SMenuStyle
Style of the side menu. Styles contain colors, borders, alignments, padding

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