ChatViewStateConfiguration constructor

const ChatViewStateConfiguration({
  1. ChatViewStateWidgetConfiguration? errorWidgetConfig = const ChatViewStateWidgetConfiguration(),
  2. ChatViewStateWidgetConfiguration? noMessageWidgetConfig = const ChatViewStateWidgetConfiguration(),
  3. ChatViewStateWidgetConfiguration? loadingWidgetConfig = const ChatViewStateWidgetConfiguration(),
  4. VoidCallBack? onReloadButtonTap,
})

Implementation

const ChatViewStateConfiguration({
  this.errorWidgetConfig = const ChatViewStateWidgetConfiguration(),
  this.noMessageWidgetConfig = const ChatViewStateWidgetConfiguration(),
  this.loadingWidgetConfig = const ChatViewStateWidgetConfiguration(),
  this.onReloadButtonTap,
});