AnimatedKeyboardPadding constructor
const
AnimatedKeyboardPadding({})
Creates an AnimatedKeyboardPadding widget.
The child parameter is required and represents the widget that will
receive animated bottom padding based on keyboard state.
The duration parameter controls how long the animation takes.
Defaults to 250 milliseconds.
The curve parameter controls the animation easing.
Defaults to Curves.easeOut.
Implementation
const AnimatedKeyboardPadding({
super.key,
required this.child,
this.duration = const Duration(milliseconds: 250),
this.curve = Curves.easeOut,
});