the modern chat input composer layout to better handle vertical space and alignment. Change the row crossAxisAlignment from center to end so controls align to the input bottom. Wrap the animated container with a ConstrainedBox that limits the composer max height to 25% of the screen, preventing excessive growth on tall displays. Reorder and clean up the AnimatedContainer/decoration block, extracting the composer radius constant and preserving styling (background color, border color/width). Move the text field and inline mic into the same row structure under the constrained container and retain the isActive flag and padding. These changes prevent layout overflow, ensure a consistent border radius, and improve visual alignment of controls.
81 KiB
81 KiB