transitionBuilder property

KeyboardTransitionBuilder transitionBuilder
final

A function that wraps a new child with an animation that makes the keyboard appear when the animation runs in the forward direction and hide when the animation runs in the reverse direction.

This is only called when the keyboard changes its status from hidden to shown.

Defaults to KeyboardAttachable._defaultBuilder, which simply returns the child that was passed to KeyboardAttachable.

The animation provided to the builder has the duration and curve needed to make the keyboard animation match the corresponding platform animation. The animation value will be 0 if the keyboard is dismissed, and 1 if the keyboard is fully shown.

See also:

Implementation

final KeyboardTransitionBuilder transitionBuilder;