ChatList constructor

const ChatList({
  1. Key? key,
  2. Widget? bottomWidget,
  3. required BubbleRtlAlignment bubbleRtlAlignment,
  4. bool? isLastPage,
  5. required Widget itemBuilder(
    1. Object,
    2. int? index
    ),
  6. required List<Object> items,
  7. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  8. Future<void> onEndReached()?,
  9. double? onEndReachedThreshold,
  10. required ScrollController scrollController,
  11. ScrollPhysics? scrollPhysics,
  12. TypingIndicatorOptions? typingIndicatorOptions,
  13. required bool useTopSafeAreaInset,
})

Creates a chat list widget.

Implementation

const ChatList({
  super.key,
  this.bottomWidget,
  required this.bubbleRtlAlignment,
  this.isLastPage,
  required this.itemBuilder,
  required this.items,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  this.onEndReached,
  this.onEndReachedThreshold,
  required this.scrollController,
  this.scrollPhysics,
  this.typingIndicatorOptions,
  required this.useTopSafeAreaInset,
});