Chat constructor

const Chat({
  1. Key? key,
  2. required String title,
  3. TextStyle? style,
  4. Color? backgroundColor,
  5. required RefreshController refreshController,
  6. void onRefresh()?,
  7. EdgeInsetsGeometry? listViewPadding,
  8. required int itemCount,
  9. Radius? topLeft,
  10. Radius? topRight,
  11. required Widget inputWidget,
  12. required ScrollController scrollController,
  13. required Widget? itemBuilder(
    1. BuildContext,
    2. int
    ),
})

Implementation

const Chat({
  super.key,
  required this.title,
  this.style,
  this.backgroundColor,
  required this.refreshController,
  this.onRefresh,
  this.listViewPadding,
  required this.itemCount,

  this.topLeft,
  this.topRight, required this.inputWidget, required this.scrollController, required this.itemBuilder,
});