I am creating a sample app in Flutter which will allow users to post content like publish a book or a blog maybe. I want to create a UI which will allow these users to format their texts in these blogs, like bold text, italics etc. This would be quite similar to how you can edit text in a word processor so if users want to bold and highlight something or italicize a selected text or even change typing mode to italics or bold and type formatted text on the fly. So far it is very simple to have a TextFormField and give it some max number of lines and user can enter text but how do I implement a feature where they can format this text. I am not looking for anything fancy, mainly just bold and italics and maybe strikethrough and bullet points.
Also, the same text is to be sent to a backend to be stored through a REST API. So this formatted text when retrieved from the database later should be exactly as formatted.