child property

Widget child
final

The current child widget to display.

If there was a previous child, then the new child is revealed with a ClipPathTransition using pathBuilder, curve and clipBehaviour, over the duration.

If there was no previous child (ie, when first rendered), then this child will be immediately visible, unless revealFirstChild is set to true.

The child is considered to be "new" if it has a different type or Key (see Widget.canUpdate).

Implementation

final Widget child;