ScrollableDetails constructor

const ScrollableDetails({
  1. required AxisDirection direction,
  2. ScrollController? controller,
  3. ScrollPhysics? physics,
  4. @Deprecated('Migrate to decorationClipBehavior. ' 'This property was deprecated so that its application is clearer. This clip ' 'applies to decorators, and does not directly clip a scroll view. ' 'This feature was deprecated after v3.9.0-1.0.pre.') Clip? clipBehavior,
  5. Clip? decorationClipBehavior,
})

Creates a set of details describing the Scrollable.

Implementation

const ScrollableDetails({
  required this.direction,
  this.controller,
  this.physics,
  @Deprecated(
    'Migrate to decorationClipBehavior. '
    'This property was deprecated so that its application is clearer. This clip '
    'applies to decorators, and does not directly clip a scroll view. '
    'This feature was deprecated after v3.9.0-1.0.pre.'
  )
  Clip? clipBehavior,
  Clip? decorationClipBehavior,
}) : decorationClipBehavior = clipBehavior ?? decorationClipBehavior;