chatPageWidget method
Builds a MaterialPageRoute for the chat page for chatEntity,
for use with custom navigation (e.g. named routes).
Implementation
MaterialPageRoute chatPageWidget(ChatEntity chatEntity) {
return MaterialPageRoute(builder: (context) => InappChatPage(chatEntity));
}