setApplyScroll method Null safety

Future<ScrollState> setApplyScroll (
  1. String nativeScrollBehavior
)

Implementation

Future<ScrollState> setApplyScroll(String nativeScrollBehavior) {
  var completer = new Completer<ScrollState>();
  _setApplyScroll((value) {
    completer.complete(value);
  }, nativeScrollBehavior);
  return completer.future;
}