Comments (13)
@poovarasanvasudevan I just released a new version for the package 1.0.7
and it has two new properties inputToolbarPadding
& inputToolbarMargin
which you can use to add padding & margin to the input container.
from dash_chat.
anyways... I ended up using inputFooterBuilder to get the margin and also show continuity all the way to the bottom
inputFooterBuilder: () {
return SafeArea(
child: SizedBox(),
);
},
from dash_chat.
@rlee1990 I think you are referring to #30, it has nothing to do with the input toolbar margin/padding.
from dash_chat.
hey @poovarasanvasudevan how did you added the maring/paddinng for iPhone X devices only? and what margin/padding amount did you used?
from dash_chat.
I did something like this on the height property:
MediaQuery.of(context).size.height < 700 ? MediaQuery.of(context).size.height - 80 : MediaQuery.of(context).size.height - 120.0,
700 and below is for iPhone 8 and below
from dash_chat.
Has this issue been resolved?
from dash_chat.
is there any clean solution?
from dash_chat.
I'm currently doing
height: Device.get().isIphoneX
? MediaQuery.of(context).size.height - 100
: null,
inputFooterBuilder: () {
return SizedBox( height: Device.get().isIphoneX ? 34.0 : 0);
},
from dash_chat.
I think this issue can be closed.
from dash_chat.
What was the solution?
from dash_chat.
As mentioned above, since 1.0.7, two new properties inputToolbarPadding & inputToolbarMargin allow you to add padding & margin to the input container.
So it doesn't seem to be an issue related to the package anymore, you'll need to manage yourself the padding/margin as you'll do with any widget to adapt to iOS.
It seems more like a Stack Overflow question right now.
from dash_chat.
Adding padding or margin does not solve the issue it makes a new one for the scroll to bottom will always show even if at the bottom.
from dash_chat.
@rlee1990 I think you are referring to #30, it has nothing to do with the input toolbar margin/padding.
Thanks that is what happens I did choose to just hide it altogether for now
from dash_chat.
Related Issues (20)
- [Question] Does this have null safety? HOT 5
- [Question] Why is it necessary for scrollNotificationFunc to always return true?
- 1.1.16 cannot show emojis HOT 4
- how to use flutter dash_chat with dialogflow?
- why dash_chat support 3 Quick Replies limited at 3? in flutter any idea
- how i use flutter_dialogflow with dashchat to my app flutter
- Can't open chat emoji dash_chat: ^1.1.16 HOT 5
- does the package support sending videos and files ?
- [Feature request] Your title
- [Question] about messageTextBuilder HOT 1
- does 2.0 release? HOT 5
- [Bug] default DateBuilder is wrong when scrolling HOT 1
- [Feature request] ListView.custom to prevent widgets from rebuilding
- [Question] Is it possible to send a new message programmatically?
- How to show sender name or auth anme in massage box list? and also emoji are not working in chat.
- [Feature request] Voice
- Invalid image data
- Null check operator used on a null value
- padding between messages
- Typing user Textstyle HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dash_chat.