You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
5
9
[![pub package][pub_badge]][pub_link]
6
10
![pub points][pub_points_badge]
11
+
[![build status][build_badge]][tracker]
12
+
13
+
</div>
7
14
8
-
Enhance your Flutter app's text presentation with TypeSet, the all-in-one solution for text styling and formatting that's as dynamic as your app needs to be. Inspired by familiar markdown formatting, TypeSet allows you to seamlessly integrate rich text features, including variable font sizes and web links, without disrupting the underlying logic of your code. With backend-driven formatting capability, WhatsApp-like ease, and additional formatting options, TypeSet offers the fluidity to make any text come alive!
15
+
## Transform Your Text Experience
9
16
10
-
## Preview of Possibilities
17
+
TypeSet brings WhatsApp, Telegram-like text styling to your Flutter apps with a powerful twist. Create rich, dynamic text experiences that can be driven by your backend or controlled directly in your UI.
11
18
12
-
<img width="346" alt="Screenshot 2023-03-18 at 10 25 42" src="https://github.com/rohanjsh/typeset/assets/35066779/34c49da7-4a47-41a2-8af1-0f9d5a093689">
19
+
With TypeSet, you can seamlessly integrate **bold**, _italic_, ~~strikethrough~~, underlined text, `monospace`, hyperlinks, and even dynamic font sizing without complex widgets or convoluted styling code.
13
20
14
-
Craft the perfect user experience with customizable text that embraces bold, italic, strikethrough, underline, monospace, hyperlinks, and dynamic font sizes – all at your fingertips.
To unleash the power of TypeSet in your Flutter application, ensure you have the Flutter SDK installed and up to date.
38
+
Craft the perfect user experience with text styling that feels natural to your users. TypeSet makes it easy to implement rich text features that would otherwise require complex custom solutions.
39
+
40
+
## 🚀 Getting Started
19
41
20
42
### Installation
21
43
22
-
In your `pubspec.yaml`, under dependencies, add the following line:
44
+
Add TypeSet to your project by including it in your `pubspec.yaml`:
23
45
24
46
```yaml
25
47
dependencies:
26
-
typeset: ^latest_version
48
+
typeset: ^2.3.0 # Check pub.dev for the latest version
27
49
```
28
50
29
-
Run the following command to install the package:
51
+
Then run:
30
52
31
53
```shell
32
-
flutter packages get
54
+
flutter pub get
33
55
```
34
56
35
-
### Usage 🌟
57
+
## 💎 Usage
36
58
37
-
Utilize the TypeSet widget as easily as you would use the native `Text.rich()` in Flutter:
59
+
TypeSet is designed to be as simple as using Flutter's built-in `Text` widget:
38
60
39
61
```dart
40
62
import 'package:typeset/typeset.dart';
41
63
42
-
// Bold Text Example
43
-
TypeSet('Hello, *World!*'); // Renders 'World!' in bold
64
+
// Just drop in your formatted text
65
+
TypeSet('Hello *Flutter* developers!');
66
+
```
67
+
68
+
### Text Formatting Syntax
44
69
45
-
// Italic Text Example
46
-
TypeSet('Hello, _World!_'); // Renders 'World!' in italic
- **Dynamic font resizing**: Adjust text sizes on the fly for emphasis or accessibility.
82
-
- **Extensible**: Designed with openness for adding more styling options in future updates.
162
+
This adds formatting buttons (Bold, Italic, Strikethrough, etc.) to the text selection menu, allowing users to easily format selected text.
163
+
## ✨ Key Features
83
164
84
-
## We Value Your Feedback 📬
165
+
- **WhatsApp-like Formatting** - Familiar syntax that users already understand
166
+
- **Backend-driven Styling** - Update text formatting from your server without app updates
167
+
- **TypeSetEditingController** - Add rich text capabilities to input fields
168
+
- **Dynamic Font Sizing** - Adjust text size inline for emphasis or hierarchy
169
+
- **Context Menus** - Built-in support for copy/paste with formatting
170
+
- **Highly Customizable** - Style each formatting type independently
171
+
- **Lightweight** - Minimal dependencies for a smaller app footprint
172
+
- **Well-tested** - 95%+ test coverage for production reliability
85
173
86
-
Have ideas for more features? Found a bug? Feel free to [open an issue][tracker] on our issue tracker. Your contributions make TypeSet better for everyone.
174
+
## 🤝 Community & Support
87
175
88
-
## Keep Your App's Text Styling Dynamic and Engaging with TypeSet!
176
+
- **[GitHub Issues][tracker]** - Report bugs or request features
177
+
- **[GitHub Discussions](https://github.com/rohanjsh/typeset/discussions)** - Get help and share ideas
178
+
- **[Pub.dev Documentation][pub_link]** - Detailed API documentation
89
179
90
-
---
180
+
### Contributing
181
+
182
+
Contributions are welcome! Check out our [contribution guidelines](https://github.com/rohanjsh/typeset/blob/main/CONTRIBUTING.md) to get started.
91
183
92
-
Remember to include accurate links where necessary, like a link to the image of the demo snapshot, and the issue tracker. Also, replace the placeholder `^latest_version` with the actual latest version number of your package.
184
+
### Support the Project
185
+
186
+
If TypeSet has been helpful for your projects, consider:
187
+
- ⭐ Starring the repository
188
+
- 🔄 Sharing with other developers
189
+
- 💬 Providing feedback and suggestions
190
+
- 🐛 Reporting bugs and issues
191
+
192
+
## 📝 License
193
+
194
+
TypeSet is available under the [Apache License, Version 2.0](https://github.com/rohanjsh/typeset/blob/main/LICENSE).
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
0 commit comments