maxVisibleItems property
Maximum number of actions to show directly in the menu before creating overflow.
When the number of available actions exceeds this limit, the platform may create a submenu or overflow menu to accommodate additional actions.
Platform Behavior:
- iOS: Respects platform UI guidelines for menu length
- Android: Limited by toolbar space and screen size
- Web: Creates scrollable or paginated menu as needed
Note: If null, the platform default behavior is used.
Implementation
int? maxVisibleItems;