KeyboardPadding constructor

const KeyboardPadding({
  1. Key? key,
  2. required Widget child,
})

Creates a KeyboardPadding widget.

The child parameter is required and represents the widget that will receive bottom padding based on keyboard state.

Implementation

const KeyboardPadding({super.key, required this.child});