ChatBottomPanelContainer<T> constructor
const
ChatBottomPanelContainer<T> ({
- Key? key,
- required ChatBottomPanelContainerController<
T> controller, - required FocusNode inputFocusNode,
- Widget otherPanelWidget(
- T? data
- void onPanelTypeChange(
- ChatBottomPanelType,
- T? data
- Color panelBgColor = Colors.white,
- double? safeAreaBottom,
- ChatKeyboardChangeKeyboardPanelHeight? changeKeyboardPanelHeight,
- 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.');