tolerance property

  1. @Deprecated('Call toleranceFor instead. ' 'This feature was deprecated after v3.7.0-13.0.pre.')
Tolerance tolerance

Deprecated. Call toleranceFor instead.

Implementation

@Deprecated(
  'Call toleranceFor instead. '
  'This feature was deprecated after v3.7.0-13.0.pre.',
)
Tolerance get tolerance {
  return toleranceFor(FixedScrollMetrics(
    minScrollExtent: null,
    maxScrollExtent: null,
    pixels: null,
    viewportDimension: null,
    axisDirection: AxisDirection.down,
    devicePixelRatio: WidgetsBinding.instance.window.devicePixelRatio,
  ));
}