IndexBar constructor

const IndexBar({
  1. Key? key,
  2. ValueChanged<String>? onIndexTap,
  3. required List<String> letters,
  4. double height = 400.0,
  5. double width = 30.0,
  6. TextStyle? textStyle,
  7. Color? highlightColor,
})

Creates an index bar.

Implementation

const IndexBar({
  super.key,
  this.onIndexTap,
  required this.letters,
  this.height = 400.0,
  this.width = 30.0,
  this.textStyle,
  this.highlightColor,
});