KeyboardObserver constructor
const
KeyboardObserver({
- Key? key,
- Widget? child,
- KeyboardObserverListener? showListener,
- KeyboardObserverListener? hideListener,
- Curve? curveShow,
- Duration durationShow = const Duration(milliseconds: 500),
- Curve? curveHide,
- Duration durationHide = const Duration(milliseconds: 500),
- KeyboardAnimationListener? showAnimationListener,
- KeyboardAnimationListener? hideAnimationListener,
- KeyboardAnimationMode animationMode = KeyboardAnimationMode.simulated,
Implementation
const KeyboardObserver({
Key? key,
this.child,
this.showListener,
this.hideListener,
this.curveShow,
this.durationShow = const Duration(milliseconds: 500),
this.curveHide,
this.durationHide = const Duration(milliseconds: 500),
this.showAnimationListener,
this.hideAnimationListener,
this.animationMode = KeyboardAnimationMode.simulated,
}) : super(key: key);