replacement property
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:
- AnimatedCrossFade, which can animate between two children.
Implementation
final Widget replacement