ScrollableDetails.horizontal constructor

const ScrollableDetails.horizontal({
  1. bool reverse = false,
  2. ScrollController? controller,
  3. ScrollPhysics? physics,
  4. Clip? decorationClipBehavior,
})

A constructor specific to a Scrollable with an Axis.horizontal.

Implementation

const ScrollableDetails.horizontal({
  bool reverse = false,
  this.controller,
  this.physics,
  this.decorationClipBehavior,
}) : direction = reverse ? AxisDirection.left : AxisDirection.right;