typeset 0.1.0+5 typeset: ^0.1.0+5 copied to clipboard
This supports the input from backend to be formatted with different formatters
TypeSet #
This supports the input from backend to be formatted with different formatters. Text style that will support bold, italic and underline text coming from the server The implementation will be same as we see on WhatsApp.
i.e.
- Bold Text will be wrapped in asterisk
- Italic Text will be wrapped in underscore
- Underline Text will be wrapped in ~tilde~
- Bold, Italic and Underline Text will be wrapped in asterisk underscore ~tilde~
Installation 💻 #
❗ In order to start using typeset you must have the Flutter SDK installed on your machine.
Add typeset
to your pubspec.yaml
:
dependencies:
typeset:
Install it:
flutter packages get