BaseIndexBar constructor

BaseIndexBar({
  1. Key? key,
  2. List<String> data = kIndexBarData,
  3. double width = kIndexBarWidth,
  4. double itemHeight = kIndexBarItemHeight,
  5. bool hapticFeedback = false,
  6. TextStyle textStyle = const TextStyle(fontSize: 12.0, color: Color(0xFF666666)),
  7. IndexedWidgetBuilder? itemBuilder,
  8. 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);