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 Observers#
The 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 :
MirrorFlyNavigationObserveris need to add as a navigation observer to the app.
onGenerateRoute#
The 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
mirrorFlyRoutefunction to handle the route in Your MaterialApp.
Recent Chat List#
The DashboardView page enables you to integrate the UI of your mirrorfly recent chat view using DashboardViewArguments.
Contacts#
The Contact page enables you to integrate the UI of your mirrorfly registered user list view using ContactListArguments. .
Single & Group Chat#
The 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 Pageusing below code.
One-to-One / Group Reply#
Reply 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 Page#
Update Profile is a feature that allows users to update your profile.