KeyboardAttachable constructor

const KeyboardAttachable({
  1. Widget? child,
  2. KeyboardTransitionBuilder transitionBuilder = KeyboardAttachable._defaultBuilder,
  3. Color backgroundColor = Colors.transparent,
  4. Key? key,
})

Creates a widget that smoothly adds space below its child when the keyboard is shown or hidden.

Implementation

const KeyboardAttachable({
  this.child,
  this.transitionBuilder = KeyboardAttachable._defaultBuilder,
  this.backgroundColor = Colors.transparent,
  Key? key,
}) : super(key: key);