IndexBar constructor

IndexBar({
  1. Key? key,
  2. List<String> data = kIndexBarData,
  3. double width = kIndexBarWidth,
  4. double? height,
  5. double itemHeight = kIndexBarItemHeight,
  6. EdgeInsetsGeometry? margin,
  7. IndexHintBuilder? indexHintBuilder,
  8. IndexBarDragListener? indexBarDragListener,
  9. IndexBarOptions options = const IndexBarOptions(),
  10. IndexBarController? controller,
})

Implementation

IndexBar({
  Key? key,
  this.data = kIndexBarData,
  this.width = kIndexBarWidth,
  this.height,
  this.itemHeight = kIndexBarItemHeight,
  this.margin,
  this.indexHintBuilder,
  IndexBarDragListener? indexBarDragListener,
  this.options = const IndexBarOptions(),
  this.controller,
})  : indexBarDragNotifier = indexBarDragListener as IndexBarDragNotifier?,
      super(key: key);