ChatsList constructor

const ChatsList({
  1. Key? key,
  2. required String title,
  3. Color? backgroundColor,
  4. TextStyle? style,
  5. Radius? bottomLeft = const Radius.circular(30),
  6. Radius? bottomRight = const Radius.circular(30),
  7. required RefreshController refreshController,
  8. void onRefresh()?,
  9. EdgeInsetsGeometry? listViewPadding,
  10. required int itemCount,
  11. required Widget? itemBuilder(
    1. BuildContext,
    2. int
    ),
})

Implementation

const ChatsList({
  super.key,
  required this.title,
  this.backgroundColor,

  this.style,
  this.bottomLeft = const Radius.circular(30),
  this.bottomRight = const Radius.circular(30),
  required this.refreshController,
  this.onRefresh,
  this.listViewPadding,
  required this.itemCount, required this.itemBuilder,
});