fixed the bug with initialMessages not handling and building inlineWidgets. now it is building the widgets.
fixed the bug, with whenever we are coming back to screen, initialMessages, used to load again and again as shown below, fixed it.
exposed some styling properties to make it compatible with the theming perspective,
fixed the bad state error shown in the picture, that was happening, if we have any widget in chat, if its all text, then it was working fine, so basically the reference was being static and when we used to come back, it used to break down, so I removed build widgets in dispose and rebuild them when getting navigate to back to chat screen.
Following things done:
initialMessages
not handling and building inlineWidgets. now it is building the widgets.bad state error
shown in the picture, that was happening, if we have any widget in chat, if its all text, then it was working fine, so basically the reference was being static and when we used to come back, it used to break down, so I removed build widgets in dispose and rebuild them when getting navigate to back to chat screen.SS