FixedExtentScrollController constructor

FixedExtentScrollController({
  1. int initialItem = 0,
})

Creates a scroll controller for scrollables whose items have the same size.

initialItem defaults to 0 and must not be null.

Implementation

FixedExtentScrollController({
  this.initialItem = 0,
});