flutter_chat_ui icon indicating copy to clipboard operation
flutter_chat_ui copied to clipboard

Weird top padding

Open rigroch opened this issue 3 years ago • 5 comments

Hello, I faced this issue. Message bubble contains incomprehensible padding at the top. What's wrong with me...? Can you help me?

More info.. flutter: 3.0.5 flutter_chat_ui: ^1.6.4 flutter_chat_types: ^3.4.5

iOS(14.x):

Web(Chrome): 스크린샷 2022-09-16 오전 9 49 20

macOS: 스크린샷 2022-09-16 오전 9 52 43

rigroch avatar Sep 16 '22 01:09 rigroch

I set isTextMessageTextSelectable: false, It's disappeared.

I think bug of following option.

rigroch avatar Sep 16 '22 01:09 rigroch

You need to wrap the app in a MaterialApp or CupertinoApp.

provokateurin avatar Sep 16 '22 03:09 provokateurin

You need to wrap the app in a MaterialApp or CupertinoApp.

I already use MaterialApp... 스크린샷 2022-09-16 오후 2 32 26

rigroch avatar Sep 16 '22 05:09 rigroch

No just wrap the screen in a Scaffold for the yellow underlines to disappear

mohamoha6200 avatar Sep 22 '22 15:09 mohamoha6200

Will take a look!

demchenkoalex avatar Oct 02 '22 22:10 demchenkoalex

Yes, as suggested here, Scaffold is required, I am not sure what happens with Flutter if you don't provide it, everything is underlined with yellow and generally layout breaks.

demchenkoalex avatar Oct 29 '22 15:10 demchenkoalex