setBottomPadding method

void setBottomPadding(
  1. double px
)

Extra space under the composer and the launcher when the chat sits above a host tab bar or bottom sheet. Screens and launchers already shown move.

Implementation

void setBottomPadding(double px) => _bottomPadding.value = px < 0 ? 0 : px;