KeyboardAvoider constructor

KeyboardAvoider({Key key, @required Widget child, Duration duration: const Duration(milliseconds: 100), Curve curve: Curves.easeOut, bool autoScroll: false, double focusPadding: 12.0 })

Implementation

KeyboardAvoider({
  Key key,
  @required this.child,
  this.duration = const Duration(milliseconds: 100),
  this.curve = Curves.easeOut,
  this.autoScroll = false,
  this.focusPadding = 12.0,
})  : assert(child is ScrollView ? child.controller != null : true),
      super(key: key);