ScrollableDetails constructor Null safety

const ScrollableDetails(
  1. {required AxisDirection direction,
  2. required ScrollController controller}
)

Creates a set of details describing the Scrollable. The direction cannot be null.

Implementation

const ScrollableDetails({
  required this.direction,
  required this.controller,
});