nativeMenuOn property

ValueListenable<bool> get nativeMenuOn

Whether the browser's own menu is on, once each switch has taken effect.

Flutter's selection area builds differently while it is on, and only reads it when it rebuilds. The switch completes after the first page has built, so the page's next rebuild changed the area's shape under it: it made a second selection container while the first was still registered, and a release build later failed with a null check when one of them left. The page shell rebuilds its selection area whole when this changes instead. See DVPageShell.

Implementation

static ValueListenable<bool> get nativeMenuOn => _nativeMenuOn;