BaseIndexBar constructor
BaseIndexBar({
- Key? key,
- List<
String> data = kIndexBarData, - double width = kIndexBarWidth,
- double itemHeight = kIndexBarItemHeight,
- bool hapticFeedback = false,
- TextStyle textStyle = const TextStyle(fontSize: 12.0, color: Color(0xFF666666)),
- IndexedWidgetBuilder? itemBuilder,
- IndexBarDragNotifier? indexBarDragNotifier,
Implementation
BaseIndexBar({
Key? key,
this.data = kIndexBarData,
this.width = kIndexBarWidth,
this.itemHeight = kIndexBarItemHeight,
this.hapticFeedback = false,
this.textStyle = const TextStyle(fontSize: 12.0, color: Color(0xFF666666)),
this.itemBuilder,
this.indexBarDragNotifier,
}) : super(key: key);