child property

Widget child
final

The subtree the detector guards. The detector's own context is used to present the bug-report form, so this widget must sit UNDER a Navigator: install it via MaterialApp.builder and pass the builder's child here (see the class docs). Wrapping the MaterialApp itself as child places the detector above the Navigator and makes Navigator.of throw.

Implementation

final Widget child;