buildInPanel method

Widget? buildInPanel(
  1. ChatBottomPanelType panelType
)

Build build-in panel.

Implementation

Widget? buildInPanel(ChatBottomPanelType panelType) {
  switch (panelType) {
    case ChatBottomPanelType.none:
      return _state?.buildSafeArea.call();
    case ChatBottomPanelType.keyboard:
      return _state?.buildKeyboardPlaceholderPanel.call();
    case ChatBottomPanelType.other:
      return _state?.buildOtherPanel.call();
  }
}