KeyboardScroll constructor

const KeyboardScroll({
  1. Key? key,
  2. required KeyboardScrollController controller,
  3. required Widget child,
  4. bool closeWhenTap = false,
  5. bool closeWhenMove = false,
  6. bool useIOSSystemAnim = false,
  7. KeyboardScrollType fitType = KeyboardScrollType.fitAddedTextField,
  8. KeyboardObserverListener? showListener,
  9. KeyboardObserverListener? hideListener,
  10. KeyboardAnimationListener? showAnimationListener,
  11. KeyboardAnimationListener? hideAnimationListener,
  12. Clip clipBehavior = Clip.hardEdge,
})

Implementation

const KeyboardScroll({
  Key? key,
  required this.controller,
  required this.child,
  this.closeWhenTap = false,
  this.closeWhenMove = false,
  this.useIOSSystemAnim = false,
  this.fitType = KeyboardScrollType.fitAddedTextField,
  this.showListener,
  this.hideListener,
  this.showAnimationListener,
  this.hideAnimationListener,
  this.clipBehavior = Clip.hardEdge,
}) : super(key: key);