CustomChatListView<T> constructor

const CustomChatListView<T>({
  1. Key? key,
  2. required Widget itemBuilder(
    1. BuildContext context,
    2. int index,
    3. T data
    ),
  3. List<T> topList = const [],
  4. List<T> bottomList = const [],
  5. ScrollController? controller,
  6. Future<bool> onScrollDownLoad()?,
  7. Future<bool> onScrollUpLoad()?,
  8. bool enabledScrollUpLoad = false,
})

Implementation

const CustomChatListView({
  Key? key,
  required this.itemBuilder,
  this.topList = const [],
  this.bottomList = const [],
  this.controller,
  this.onScrollDownLoad,
  this.onScrollUpLoad,
  this.enabledScrollUpLoad = false,
}) : super(key: key);