autoHideOnModal property

bool autoHideOnModal
final

When true (default), destroys the native group'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 host-page PlatformView pixels can leak through a sheet that also contains CN-widgets. Requires CNTabBarRouteObserver() to be registered in the app's navigatorObservers. No effect on iOS < 26 / non-iOS (Flutter fallback).

Implementation

final bool autoHideOnModal;