Skip to content

Commit 3eec94c

Browse files
update README.md
1 parent 8811239 commit 3eec94c

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
1-
### RegexedText
1+
## RegexedText
22

33
This package extends the Text widget to provide additional functionality for highlighting text that matches a given list of RegExp patterns.
44

5-
##### Key Features
5+
### Key Features
66

77
- Highlight parts of the text that match certain patterns. Each pattern can have its own unique style.
88
- Handle taps on a part of the text that matches a pattern.
99
- Extend the functionality of the Flutter `Text` widget.
1010

11-
##### Example
11+
## Installation
12+
13+
Add the following to your `pubspec.yaml` file:
14+
15+
```yaml
16+
dependencies:
17+
regexed_text: ^0.0.7
18+
```
19+
20+
Then run `flutter pub get` to install the package.
21+
22+
## Usage
23+
### Basic Usage
1224

1325
![screenshoot](https://raw.githubusercontent.com/elrizwiraswara/regexed_text/main/example/screenshoot.png)
1426

@@ -95,6 +107,6 @@ class MainApp extends StatelessWidget {
95107
```
96108

97109

98-
License
110+
## License
99111

100112
This project is licensed under the MIT License - see the [LICENSE](https://github.com/elrizwiraswara/regexed_text?tab=MIT-1-ov-file) file for details.

0 commit comments

Comments
 (0)