selected property
true when the host widget carries SemanticsFlag.isSelected (the active
tab of a BottomNavigationBar / NavigationBar / TabBar, a selected
Chip, etc.). The SDK's generic back-navigation reads this to detect
"which tab was active before this tap" — no host code required.
Implementation
final bool selected;