The first is the easiest as you can simply call it with the data you want in a message to any app that has deep linking capability. However, the issue is that there is minimal customization here in the layout, ordering, apps, etc. (Note this also only allows you to share with external apps)
The secondary is a lot more tedious as you have to build the app sheet yourself (unless you find another plugin that has replicated the sheet). However! you get full control of everything, you can use deep linking like the following with a url_launcher to send externally, but you can also use a it internally to push routes, display dialogs, or much more. var facebook_messenger_link = 'https://m.me/$FaceBook_Name?text=$Message_to_be_sent;
Overall you can definitley achieve the behaviour you want, whether that be calling native share screens through plugins as above, calling native call through the flutter -> native method channels or building your own custom implementation if you need more control.
2
Answers
the simplest method for sharing is to use a plugin like share_plus:
Otherwise, you can always utilize the
Here are the benefits and issues of both.
var facebook_messenger_link = 'https://m.me/$FaceBook_Name?text=$Message_to_be_sent;
Overall you can definitley achieve the behaviour you want, whether that be calling native share screens through plugins as above, calling native call through the flutter -> native method channels or building your own custom implementation if you need more control.
Hope this helps
yea you can show frequent contacts in a flutter messaging app like WhatsApp or Messenger by doing this
track interactions: store user interaction data like message count or last interaction time in your database
calculate frequency: sort contacts by interaction count or how recent they were contacted to find the frequent ones
display ui: use a horizontal ListView.builder in flutter to show the frequent contacts with their profile pics. on tap it takes you to the chat screen
optimize: cache the frequent contacts and use real-time updates for better performance
privacy: make sure data is secure and give users control over their frequent contacts list