flutter_firebase_chat_core icon indicating copy to clipboard operation
flutter_firebase_chat_core copied to clipboard

Embed in another App

Open gwbischof opened this issue 2 years ago • 2 comments
trafficstars

I have read through the docs, and example code. The example code seems like a collection of independent Scaffolds, like Rooms, ChatPage, LoginPage. Scaffolds don't seem like the best Widget type to plug it into another App, because the Parent app probably already has a scaffold, with AppBar. I think that it is not recommended to put Scaffolds inside of Scaffolds. I think there are some other Issues with putting the example code into another App, like the Routing.

Would it make sense to make a single Container, without an AppBar that has all of the parts from the Example code? Maybe this code could be considered a second example? This might make it easier for people to add this to their app. And it might be nice to have an example of how to put the chat into your app.

Would this be useful? Is there some reason that it should be done differently?

I'd be happy to write this code.

gwbischof avatar Dec 03 '22 22:12 gwbischof