modeShorterChild property

AnimatedBetweenMode modeShorterChild
final

How the child with the smaller natural area fills the animated box during a transition. See AnimatedBetweenMode for the available modes (AnimatedBetweenMode.overflow, AnimatedBetweenMode.fit, AnimatedBetweenMode.resize).

When the two children have the exact same area, both use modeShorterChild. When one side is null (as in AnimatedBetween.showHide), the non-null side is always treated as the larger child and uses modeLargerChild.

This does not affect how the box itself is sized; grow/shrink direction and target sizes are still determined from each child's natural size.

Implementation

final AnimatedBetweenMode modeShorterChild;