switchPanel method

void switchPanel(
  1. ChatUIKitKeyboardPanelType panelType, {
  2. Duration? duration,
})

Implementation

void switchPanel(ChatUIKitKeyboardPanelType panelType, {Duration? duration}) {
  if (_state != null) {
    _state!.switchPanel(panelType, duration: duration);
  }
}