typeset 1.0.0+4 typeset: ^1.0.0+4 copied to clipboard
WhatsApp like text formatting for you! -> Bold, Italic, Underline
TypeSet #
- Make text formatting backend driven (if needed) with one widget!!
- Whatsapp like formatting with some addons!! (input looks something like this)
Usage
- BOLD → Hello, *World!*
- ITALIC → Hello, _World!_
- STRIKETHROUGH → Hello, ~World!~
- UNDERLINE → Hello, //World!//
- MONOSPACE → Hello, `World!`
- LINK → [google.com|https://google.com]
Preview #
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: #latest
Install it:
flutter packages get
🌟 Usage 🌟
import 'package:typeset/typeset.dart';
TypeSet(inputText: 'Hello, *World!*');
// returns 'World' with bold text
TypeSet(inputText: 'Hello, _World!_');
// returns 'World' with italic text
TypeSet(inputText: 'Hello, ~World!~');
// returns 'World' with strikethrough text
TypeSet(inputText: 'Hello //World!//');
// returns 'World' with underline text
TypeSet(inputText: 'Hello, `World!`');
// returns 'World' with monospace text
TypeSet(inputText: '[google.com|https://google.com]');
// returns 'google.com' with link to google.com
///TypeSet also has every property which the Text.rich() has, so you can configure accordingly
Features and bugs #
Please file feature requests and bugs at the issue tracker.