scrollable property

set scrollable (ScrollableState? newValue)

Implementation

set scrollable(ScrollableState? newValue) {
  assert(newValue != null);
  if (_scrollable == newValue) {
    return;
  }
  final ScrollableState? oldValue = _scrollable;
  _scrollable = newValue;
  markNeedsLayout();
  if (attached) {
    oldValue?.position.removeListener(markNeedsLayout);
    newValue?.position.addListener(markNeedsLayout);
  }
}