m3FloatingToolbarOverflowMenuPreview function
- @Preview(name: 'M3FloatingToolbar overflow menu', size: kPreviewSize, wrapper: m3FloatingToolbarBottomCenterPreviewWrapper)
Preview of an email toolbar that moves overflow actions into a menu.
Per the Material Design 3 guidelines, when actions don't fit in a toolbar the trailing slot holds an overflow menu instead of more buttons.
Implementation
@Preview(
name: 'M3FloatingToolbar overflow menu',
size: kPreviewSize,
wrapper: m3FloatingToolbarBottomCenterPreviewWrapper,
)
Widget m3FloatingToolbarOverflowMenuPreview() =>
const _M3FloatingToolbarOverflowMenuPreview();