flutter_chat_ui icon indicating copy to clipboard operation
flutter_chat_ui copied to clipboard

Get to know the height of the input widget depending device

Open SwiftyFlow opened this issue 1 year ago • 1 comments

The title is pretty self-explanatory but here is why...

I want the user to be able to write something along picking an image.

I have to offset the image preview with its clear button above the input widget but using stack + padding makes it hard as I don't know the height of the input widget. It looks good on iP14 Pro but overlapped on iP8.

Now writing that and as I already don't like the fact that it's covering the last message(s), I'm going to try to pretend it's a custom message and come back to advise if this approach solves it.

I'd still be curious to know if I can get the right input widget height...

SwiftyFlow avatar Feb 22 '24 09:02 SwiftyFlow

yeah this was not originally planned so no solution available.. will be looking into this with v2 as well

demchenkoalex avatar Feb 22 '24 17:02 demchenkoalex