animateKeyboard property

bool animateKeyboard
final

Whether to simulate keyboard open/closing animations.

These animations change the keyboard insets over time, similar to how a real software keyboard slides up/down. However, this also means that clients need to pumpAndSettle() to ensure the animation is complete. If you want to avoid pumpAndSettle() and you don't care about the animation, then pass false to disable the animations.

Implementation

final bool animateKeyboard;