get static method
Implementation
static ScrollPhysics get({
required List<double> steps,
bool lastStepBlocking = true,
}) {
if (Platform.isIOS || Platform.isMacOS) {
return _VerticalSnapBouncingScrollPhysics(
steps: steps,
lastStepBlocking: lastStepBlocking,
);
} else {
return _VerticalSnapClampingScrollPhysics(
steps: steps,
lastStepBlocking: lastStepBlocking,
);
}
}