isActiveFn property
Predicates threaded down so a nested panel opened from this item can
keep resolving active state for its own descendants. (The original
TDropdownOverlayItem didn't do this at all — nested dropdown levels
past the first never highlighted the active item. Fixed here.)
Implementation
final bool Function(T item)? isActiveFn;