ScrollIndicator constructor

ScrollIndicator({
  1. required ScrollController scrollController,
  2. double width = 100,
  3. double height = 10,
  4. double indicatorWidth = 20,
  5. Decoration decoration = const BoxDecoration(color: Colors.black26),
  6. Decoration indicatorDecoration = const BoxDecoration(color: Colors.black),
  7. AlignmentGeometry alignment = Alignment.center,
})

Implementation

ScrollIndicator(
    {required this.scrollController,
    this.width = 100,
    this.height = 10,
    this.indicatorWidth = 20,
    this.decoration = const BoxDecoration(color: Colors.black26),
    this.indicatorDecoration = const BoxDecoration(color: Colors.black),
    this.alignment = Alignment.center});