fabExpandsToolbar property
When true (default), an adjacent FAB toggles whole-pill expand/collapse and morphs between large (80) and small (56) sizes.
When false, the pill stays open, the FAB stays at M3EToolbarTokens.fabBaseline (56), and only onFabPressed runs. expanded / onExpandedChanged are ignored. Floating toolbars only.
Implementation
final bool fabExpandsToolbar;