setDistributeScroll 方法

Future<ScrollState> setDistributeScroll(
  1. String nativeScrollBehavior
)

实现

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