ReparentChildBuilder typedef

ReparentChildBuilder = Widget Function(Widget parent, Widget child)

The builder type used by Animate.reparentTypes. It must accept an existing parent widget, and rebuild it with the provided child. In effect, it clones the provided parent widget with the new child.

Implementation

typedef ReparentChildBuilder = Widget Function(Widget parent, Widget child);