replacement property Null safety

Widget replacement
final

The widget to use when the child is not visible, assuming that none of the maintain flags (in particular, maintainState) are set.

The normal behavior is to replace the widget with a zero by zero box (SizedBox.shrink).

See also:

Implementation

final Widget replacement;