-
Notifications
You must be signed in to change notification settings - Fork 208
feat: ✨ Add Pin/Mute Icon in ChatViewList #366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: ✨ Add Pin/Mute Icon in ChatViewList #366
Conversation
| settings: ChatSettings( | ||
| muteStatus: MuteStatus.muted, | ||
| pinStatus: PinStatus.pinned, | ||
| pinTime: DateTime.now().subtract(const Duration(minutes: 5)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use fiveMinAgo here.
| _chatListStreamController.sink.add(initialChatMap); | ||
| } | ||
|
|
||
| void updateChatSettings( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this can be achieved with updateChat method as well.
| final double? iconSize; | ||
| final Color? iconColor; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can drop icon prefix in the field name since that's included in the class' name.
b4ac82b to
4c9501a
Compare
| * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| * SOFTWARE. | ||
| */ | ||
| import 'package:chatview/src/values/typedefs.dart'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use relative import here.
34640e8 to
5d34f60
Compare
- Provided timestamp in last message time builder - Provided chat data in profile avatar, chat & trailing builders
5d34f60 to
7e081d0
Compare
- Provided timestamp in last message time builder - Provided chat data in profile avatar, chat & trailing builders
- Provided timestamp in last message time builder - Provided chat data in profile avatar, chat & trailing builders
Description
Checklist
fix:,feat:,docs:etc).docsand added dartdoc comments with///.examplesordocs.Breaking Change?