Navigation
Mirrorfly Flutter UIKit Plugin is a set of prebuilt UI Widgets that allows you to easily integrate every widgets inside your application to acheive all the essential messaging features.
#
Navigator ObserversThe navigatorObservers
property in the MaterialApp
widget is used to add navigation observers to the app. These observers are notified of changes to the navigation stack, such as when a route is pushed or popped.
Note :
MirrorFlyNavigationObserver
is need to add as a navigation observer to the app.
#
onGenerateRouteThe onGenerateRoute
property in the MaterialApp
widget is used to handle the generation of routes. It takes a function that returns a Route
object based on the given RouteSettings
.
In this example, the onGenerateRoute
function checks the name of the route in settings
and returns the appropriate route using the mirrorFlyRoute
function.
Note : Need to add
mirrorFlyRoute
function to handle the route in Your MaterialApp.
#
Recent Chat ListThe DashboardView
page enables you to integrate the UI of your mirrorfly recent chat view using DashboardViewArguments
.
#
ContactsThe Contact
page enables you to integrate the UI of your mirrorfly registered user list view using ContactListArguments
. .
#
Single & Group ChatThe ChatView
widget enables you to integrate the UI of your mirrorfly Single / Group Chat View using ChatViewArguments
.
Parameter name | Type | Description |
---|---|---|
REMOTE_JID | String | JID of the Single User/Group |
Note : You can also navigate to
Chat Page
using below code.
#
One-to-One / Group ReplyReply is a feature that allows users to reply to each other's messages in a group and one-to-one chat. Users can ask questions, give feedback or add context to a specific message without interrupting the conversation flow. A message reply refers to a group of messages and their replies.
#
Profile PageUpdate Profile is a feature that allows users to update your profile.