ChatBottomPanelContainer<T> constructor

const ChatBottomPanelContainer<T>({
  1. Key? key,
  2. required ChatBottomPanelContainerController<T> controller,
  3. required FocusNode inputFocusNode,
  4. Widget otherPanelWidget(
    1. T? data
    )?,
  5. void onPanelTypeChange(
    1. ChatBottomPanelType,
    2. T? data
    )?,
  6. Color panelBgColor = Colors.white,
  7. double? safeAreaBottom,
  8. ChatKeyboardChangeKeyboardPanelHeight? changeKeyboardPanelHeight,
  9. ChatBottomCustomPanelContainer<T>? customPanelContainer,
})

Implementation

const ChatBottomPanelContainer({
  super.key,
  required this.controller,
  required this.inputFocusNode,
  this.otherPanelWidget,
  this.onPanelTypeChange,
  this.panelBgColor = Colors.white,
  this.safeAreaBottom,
  this.changeKeyboardPanelHeight,
  this.customPanelContainer,
}) : assert(otherPanelWidget != null || customPanelContainer != null,
          'otherPanelWidget and customPanelContainer cannot both be null.');