ScrollableDetails constructor Null safety

const ScrollableDetails(
  1. {required AxisDirection direction,
  2. required ScrollController controller,
  3. Clip? clipBehavior}
)

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

Implementation

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