child property
final
The widget below this DualTransitionBuilder in the tree.
This child widget will be wrapped by the transitions built by forwardBuilder and reverseBuilder.
If a pre-built subtree is provided as the child, it will be passed to the reverseBuilder, and the result of that will in turn be passed to the forwardBuilder. This allows the builders to incorporate the subtree without rebuilding it on every frame.
Using this pre-built child is entirely optional, but can improve performance significantly in some cases and is therefore a good practice.
Implementation
final Widget? child;