FixedExtentMetrics constructor Null safety

FixedExtentMetrics(
  1. {required double? minScrollExtent,
  2. required double? maxScrollExtent,
  3. required double? pixels,
  4. required double? viewportDimension,
  5. required AxisDirection axisDirection,
  6. required int itemIndex}
)

Creates an immutable snapshot of values associated with a ListWheelScrollView.

Implementation

FixedExtentMetrics({
  required super.minScrollExtent,
  required super.maxScrollExtent,
  required super.pixels,
  required super.viewportDimension,
  required super.axisDirection,
  required this.itemIndex,
});