ScrollSpec constructor

const ScrollSpec({
  1. bool overscroll = true,
  2. Color? overscrollColor,
  3. ScrollPhysics? physics,
  4. bool showScrollbar = false,
})

Creates an object that defines the scroll effects, physics and more.

Implementation

const ScrollSpec({
  this.overscroll = true,
  this.overscrollColor,
  this.physics,
  this.showScrollbar = false,
});