autoHideOnModal property
When true (default), destroys the native search bar's PlatformView while
a modal sheet is presented above this widget's host route. Fixes the
iOS hybrid-composition z-order bleed (Issue #53) where a host-page
CNSearchBar's pixels leak through a sheet that also contains a
CN-widget. Requires CNTabBarRouteObserver() to be registered in the
app's navigatorObservers. No effect on iOS < 26 / non-iOS (Flutter
fallback).
Implementation
final bool autoHideOnModal;