IndexBar constructor
IndexBar({
- Key? key,
- List<
String> data = kIndexBarData, - double width = kIndexBarWidth,
- double? height,
- double itemHeight = kIndexBarItemHeight,
- EdgeInsetsGeometry? margin,
- IndexHintBuilder? indexHintBuilder,
- IndexBarDragListener? indexBarDragListener,
- IndexBarOptions options = const IndexBarOptions(),
- 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);