lerp property

Widget Function(Widget a, Widget b, double t, {AlignmentGeometry alignment}) lerp
final

Function that interpolates between old and new child widgets.

Called during transition with the outgoing widget a, incoming widget b, and progress value t (0.0 to 1.0). Must return a widget representing the intermediate state of the transition.

Implementation

final Widget Function(Widget a, Widget b, double t,
    {AlignmentGeometry alignment}) lerp;