ChatUIKitAlphabeticalWidget constructor
const
ChatUIKitAlphabeticalWidget({
- required List<
ChatUIKitListItemModelBase> list, - required ScrollController scrollController,
- required ListViewBuilder builder,
- required bool enableSorting,
- required bool showAlphabeticalIndicator,
- String? groupId,
- TextStyle? selectionTextStyle,
- double selectionHeight = 32,
- Color? selectionBackgroundColor,
- String specialAlphabeticalLetter = '#',
- String? sortAlphabetical,
- double rightPadding = 2,
- void onSelectLetterChanged(
- BuildContext context,
- String? letter
- bool highlight = true,
- Color? highlightColor,
- bool listViewHasSearchBar = true,
- List<
Widget> ? beforeWidgets, - AlphabeticalItemModel? itemModelBuilder(
- String alphabetical
- Key? key,
Implementation
const ChatUIKitAlphabeticalWidget({
required this.list,
required this.scrollController,
required this.builder,
required this.enableSorting,
required this.showAlphabeticalIndicator,
this.groupId,
this.selectionTextStyle,
this.selectionHeight = 32,
this.selectionBackgroundColor,
this.specialAlphabeticalLetter = '#',
this.sortAlphabetical,
this.rightPadding = 2,
this.onSelectLetterChanged,
this.highlight = true,
this.highlightColor,
this.listViewHasSearchBar = true,
this.beforeWidgets,
this.itemModelBuilder,
super.key,
});