FancyScrollBar<T> constructor

const FancyScrollBar<T>({
  1. Key? key,
  2. required double horizontalPadding,
  3. required dynamic onIndexChanged(
    1. int
    ),
  4. required int initialIndex,
  5. required List<Widget> items,
  6. double? scrollViewHeight,
  7. double? indicatorHeight,
  8. ScrollController? controller,
})

Implementation

const FancyScrollBar({
  super.key,
  required this.horizontalPadding,
  required this.onIndexChanged,
  required this.initialIndex,
  required this.items,
  this.scrollViewHeight,
  this.indicatorHeight,
  this.controller,
});