ScrollState([num deltaX, num deltaY, num deltaGranularity, num velocityX, num velocityY, bool inInertialPhase, bool isBeginning, bool isEnding])
Source
@DomName('ScrollState.ScrollState')
@DocsEditable()
factory ScrollState([num deltaX, num deltaY, num deltaGranularity, num velocityX, num velocityY, bool inInertialPhase, bool isBeginning, bool isEnding]) {
if (isEnding != null) {
return _blink.BlinkScrollState.instance.constructorCallback_8_(deltaX, deltaY, deltaGranularity, velocityX, velocityY, inInertialPhase, isBeginning, isEnding);
}
if (isBeginning != null) {
return _blink.BlinkScrollState.instance.constructorCallback_7_(deltaX, deltaY, deltaGranularity, velocityX, velocityY, inInertialPhase, isBeginning);
}
if (inInertialPhase != null) {
return _blink.BlinkScrollState.instance.constructorCallback_6_(deltaX, deltaY, deltaGranularity, velocityX, velocityY, inInertialPhase);
}
if (velocityY != null) {
return _blink.BlinkScrollState.instance.constructorCallback_5_(deltaX, deltaY, deltaGranularity, velocityX, velocityY);
}
if (velocityX != null) {
return _blink.BlinkScrollState.instance.constructorCallback_4_(deltaX, deltaY, deltaGranularity, velocityX);
}
if (deltaGranularity != null) {
return _blink.BlinkScrollState.instance.constructorCallback_3_(deltaX, deltaY, deltaGranularity);
}
if (deltaY != null) {
return _blink.BlinkScrollState.instance.constructorCallback_2_(deltaX, deltaY);
}
if (deltaX != null) {
return _blink.BlinkScrollState.instance.constructorCallback_1_(deltaX);
}
return _blink.BlinkScrollState.instance.constructorCallback_0_();
}