Comments (10)
Inside the chatMessageList widget
after we return the snapshot.hasdata
and before child: ListView.builder
add a line
margin: EdgeInsets.only(bottom : 80),
And for going to the latest message
add a line
inside the child: ListView.builder
reverse: true,
from flutterchatapptutorial.
To add time stamp add an additional variable for time in the database and retrive it each time and print below the messages.
from flutterchatapptutorial.
To add time stamp add an additional variable for time in the database and retrive it each time and print below the messages.
Can you guide me with that?
from flutterchatapptutorial.
Inside the chatMessageList widget
after we return the snapshot.hasdata
and before child: ListView.builder
add a line
margin: EdgeInsets.only(bottom : 80),And for going to the latest message
add a line
inside the child: ListView.builder
reverse: true,
Adding 'reverse: true' is taking the lastest message on top instead in bottom as can be seen in the screenshot and getting the screen to bottom
from flutterchatapptutorial.
Add Descending: true in orderby in getConversationMessage method
from flutterchatapptutorial.
Please close the issue if the problem is solved.
from flutterchatapptutorial.
To add time stamp add an additional variable for time in the database and retrive it each time and print below the messages.
Any guide on this?
from flutterchatapptutorial.
#8 (comment)
This is the link.
from flutterchatapptutorial.
#8 (comment)
This is the link.
from flutterchatapptutorial.
#8 (comment)
This is the link.Fixed the _x problem by adding String _x;
from flutterchatapptutorial.
Related Issues (15)
- 'dart:ui/text.dart': Failed assertion: line 1372: '<optimized out>': is not true HOT 1
- Can you give this awesome work a migration âšī¸â¤ī¸ HOT 1
- The method 'substring' was called on null. E/flutter ( 2654): Receiver: null E/flutter ( 2654): Tried calling: substring(0, 1) HOT 2
- app bar
- null safty
- Firebase V9
- bug: web app crashes when sending a messages that contains a lot of bytes
- Facing issue when using firebase
- Having error in Firebase HOT 1
- I just finished the first video and I get an error relating to firebase HOT 4
- Firebase collections creation HOT 1
- Sign In Auth Unable to get user from Firebase Auth HOT 1
- showing error in auth HOT 30
- ChatRoom streamBuilder
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 flutterchatapptutorial.