hasTap property
bool
get
hasTap
Whether this item has an active tap action of its own.
False when constructed without an onTap callback and without menuItems, allowing passive custom content inside the group to manage its own gestures and semantics.
Implementation
bool get hasTap => menuItems != null || !identical(onTap, _noOp);