shouldSelectOnItemClick property

bool shouldSelectOnItemClick
final

If true, value is not selected when the menu item component is clicked.

This is for menu items that have children. When a parent item is clicked, it should not be selected by default, unless that behavior is specifically required.

Implementation

final bool shouldSelectOnItemClick;