child property

Widget child
final

The child widget of this SensitiveContent.

If the sensitivity is set to ContentSensitivity.sensitive, then the entire screen will be obscured when the screen is projected irrespective to the parent/child widgets.

This widget can only have one child. To lay out multiple children, let this widget's child be a widget such as Row, Column, or Stack, which have a children property, and then provide the children to that widget.

Implementation

final Widget child;