MyTools/tools/App_Containing_Tools/ExpandableThrowableButton library

Classes

DraggableFloatingMenu
A draggable floating menu widget that leaves the FAB unchanged but dynamically positions the popup menu in one of eight directions. The popup’s fade animation is calculated based on its opacity. Items are built via an itemBuilder callback. Tapping a menu item calls onItemTap with the index of the pressed item.
MyFloatingMenuButton

Enums

PopupDirection
Enum for eight popup directions.

Functions

getMenuOffset(PopupDirection direction, double fabSize, double horizontalMargin, double verticalMargin, double menuWidth, double menuHeight) Offset
Helper: compute the offset for the popup relative to the FAB’s top-left corner.