Package-level declarations
Types
Where a screen's floating action buttons go: the Toolkit scaffold around the screen holds one and draws what the screen puts in it, with ToolkitFabColumn.
Collapses extended FAB labels when content scrolls forward and expands them on reverse scrolling. Only consumed motion counts, so overscroll at either end does not change expanded.
Properties
The FabHost of the Toolkit scaffold around this point of the composition, if any.
Functions
Content-slot overload for callers supplying a custom icon composition.
An animated extended floating action button that scales in and out based on its visibility.
FAB with caller-owned visibility and action, plus local saved toggle state. Clicks perform feedback and optional GA4 logging before onClick. Supply contentDescription to name the icon for accessibility.
Icon-source overload; playback state is local to the composed button.
Puts fabs in the floating action button column of the Toolkit scaffold around this screen: a page's frame or the shell's tabs. They follow the screen's state, since this is called from the screen, and leave with it.
Small FAB shown only when both isVisible and isExtended are true. The caller owns visibility and actions. Supply contentDescription to name the icon for accessibility.
Icon-source overload; playback state is local to the composed button.
Draws fabs as a column at the bottom end of the screen, top to bottom in list order, so the last one, normally the screen's main action, sits in the corner. Each scales in and out on its own as it appears, disappears or changes ToolkitFab.visible.
One ToolkitFab, in the Material 3 button its size and label call for.