FixedScrollMetrics constructor

FixedScrollMetrics({@required double minScrollExtent, @required double maxScrollExtent, @required double pixels, @required double viewportDimension, @required AxisDirection axisDirection })

Creates an immutable snapshot of values associated with a Scrollable viewport.

Implementation

FixedScrollMetrics({
  @required this.minScrollExtent,
  @required this.maxScrollExtent,
  @required this.pixels,
  @required this.viewportDimension,
  @required this.axisDirection,
});