KeyboardTransitionBuilder typedef Null safety

KeyboardTransitionBuilder = Widget Function(Widget child, Animation<double> animation, double keyboardHeight)

Signature for builders used in custom transitions for KeyboardAttachable.

The function should return a widget which wraps the given child. It may also use the animation to inform its transition.

Implementation

typedef KeyboardTransitionBuilder = Widget Function(
  Widget child,
  Animation<double> animation,
  double keyboardHeight,
);