Showing
2 changed files
with
11 additions
and
25 deletions
1 | -<!-- | ||
2 | -This README describes the package. If you publish this package to pub.dev, | ||
3 | -this README's contents appear on the landing page for your package. | ||
4 | - | ||
5 | -For information about how to write a good package README, see the guide for | ||
6 | -[writing package pages](https://dart.dev/guides/libraries/writing-package-pages). | ||
7 | - | ||
8 | -For general information about developing packages, see the Dart guide for | ||
9 | -[creating packages](https://dart.dev/guides/libraries/create-library-packages) | ||
10 | -and the Flutter guide for | ||
11 | -[developing packages and plugins](https://flutter.dev/developing-packages). | ||
12 | ---> | ||
13 | - | ||
14 | -TODO: Put a short description of the package here that helps potential users | ||
15 | -know whether this package might be useful for them. | 1 | +This package is used to create text with LaTex math formulas |
2 | +Example: The equation is <m>x^2+y^2=z^2<m> | ||
3 | +This example will show the text along with the equation | ||
16 | 4 | ||
17 | ## Features | 5 | ## Features |
18 | 6 | ||
19 | -TODO: List what your package can do. Maybe include images, gifs, or videos. | 7 | +It cat show text along with LaTex formula |
20 | 8 | ||
21 | ## Getting started | 9 | ## Getting started |
22 | 10 | ||
23 | -TODO: List prerequisites and provide or point to information on how to | ||
24 | -start using the package. | 11 | +Import the package and you are good to go. |
12 | +no additional configuration needed. | ||
25 | 13 | ||
26 | ## Usage | 14 | ## Usage |
27 | 15 | ||
28 | -TODO: Include short and useful examples for package users. Add longer examples | ||
29 | -to `/example` folder. | 16 | +Wrap the LaTex formula with <m> tag to display the equation. |
30 | 17 | ||
31 | ```dart | 18 | ```dart |
32 | -const like = 'sample'; | 19 | +TexText(r'The equation is <m>x^2+y^2=z^2<m>'); |
33 | ``` | 20 | ``` |
34 | 21 | ||
35 | ## Additional information | 22 | ## Additional information |
36 | 23 | ||
37 | -TODO: Tell users more about the package: where to find more information, how to | ||
38 | -contribute to the package, how to file issues, what response they can expect | ||
39 | -from the package authors, and more. | 24 | +You can find the source code at the github page: |
25 | +https://github.com/saminsohag/flutter_packages/tree/main/tex_text |
-
Please register or login to post a comment