Skip to content

Commit 5b0c45b

Browse files
committed
v0.5.0--stable
1 parent f6ab15e commit 5b0c45b

File tree

2 files changed

+73
-43
lines changed

2 files changed

+73
-43
lines changed

README.md

Lines changed: 51 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,28 @@
11
# common_utilities
22

3-
A Dart Common Utility Package . That contain useful functions for different classes.
3+
A Dart language Common Utility package, that makes your code faster,easier and cleaner. contains lots of useful functions for Dart primitive types (support all Flutter platforms)
44

5-
Includes a set of **String** , **Int** , **List** functions and so on. that make your work much faster and easier.
5+
## Features
66

7-
**version 0.0.10 Includes only String utils**.
7+
- **String** : Over 35 useful String utility functions.
8+
9+
10+
## Todo (Next Versions)
11+
12+
- Add **Numbers** (int, double, num, BigInt) utility functions.
13+
- Add **Booleans** (bool) utility functions.
14+
- Add **Lists** (List) utility functions.
15+
16+
## Notes
17+
**version 0.5.0 Includes only String utils**.
818

919
## Usage
1020

1121
add this line to your `pubspec.yaml` :
1222

1323
```yaml
1424
dependencies:
15-
common_utilities: ^0.0.10
25+
common_utilities: ^0.5.0
1626
```
1727
1828
or enter this to your command line:
@@ -26,40 +36,40 @@ or enter this to your command line:
2636
Includes over 30 useful string functions such as :
2737

2838
1. subStringBetween
29-
1. subStringsBetween
30-
1. subStringBetween
31-
1. subStringsBetween
32-
1. subStringAfter
33-
1. subStringBefore
34-
1. subStringAfter
35-
1. subStringBefore
36-
1. insertAt
37-
1. removeAt
38-
1. insertAfter
39-
1. insertAfterEvery
40-
1. removeAfter
41-
1. removeBefore
42-
1. isNumericInt
43-
1. isNumericDouble
44-
1. isAlphabetic
45-
1. isUpperCase
46-
1. isAlphaNumeric
47-
1. isBlank
48-
1. isContainSpecialChar
49-
1. isValidCharacters
50-
1. convertEnglishNumberToPersian
51-
1. convertPersianNumberToEnglish
52-
1. convertToMoneyFormat
53-
1. countWords
54-
1. countLines
55-
1. reverse
56-
1. reverseWords
57-
1. removeBlankLines
58-
1. removeLinesThatContain
59-
1. isEmail
60-
1. convertToBase64
61-
1. convertBase64ToString
62-
1. convertToUTF8
39+
2. subStringsBetween
40+
3. subStringBetween
41+
4. subStringsBetween
42+
5. subStringAfter
43+
6. subStringBefore
44+
7. subStringAfter
45+
8. subStringBefore
46+
9. insertAt
47+
10. removeAt
48+
11. insertAfter
49+
12. insertAfterEvery
50+
13. removeAfter
51+
14. removeBefore
52+
15. isNumericInt
53+
16. isNumericDouble
54+
17. isAlphabetic
55+
18. isUpperCase
56+
19. isAlphaNumeric
57+
20. isBlank
58+
21. isContainSpecialChar
59+
22. isValidCharacters
60+
23. convertEnglishNumberToPersian
61+
24. convertPersianNumberToEnglish
62+
25. convertToMoneyFormat
63+
26. countWords
64+
27. countLines
65+
28. reverse
66+
29. reverseWords
67+
30. removeBlankLines
68+
31. removeLinesThatContain
69+
32. isEmail
70+
33. convertToBase64
71+
34. convertBase64ToString
72+
35. convertToUTF8
6373

6474
## How To Use
6575
### Example for StringUtils :
@@ -89,6 +99,6 @@ void main() {
8999
}
90100
```
91101

92-
## Changelog
93-
94-
Refer to the [Changelog](https://pub.dev/packages/common_utilities/changelog) to get all release notes.
102+
## More Info
103+
- This package is equivalent of Common Utils library in Java, by this package there is no more need to write utils functions, just add it to your project and enjoy.
104+
- Feel free to make pull request to add your desire functions if its not included in the package functions list.

pubspec.yaml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
11
name: common_utilities
2-
description: A Dart common utility package, currently supports string processing methods that makes your code cleaner.
3-
version: 0.0.11
2+
description: A Dart language Common Utility package, that makes your code faster,easier and cleaner. contains lots of useful functions for Dart primitive types (support all Flutter platforms)
3+
version: 0.5.0
44
homepage: https://github.com/m-r-davari/dart_common_utilities
55

6+
topics:
7+
- "common_utilities"
8+
- "common-utils"
9+
- "string-utils"
10+
- "utils"
11+
- "utility"
12+
13+
platforms:
14+
android:
15+
ios:
16+
web:
17+
mac:
18+
linux:
19+
windows:
20+
621
environment:
722
sdk: ">=2.15.1 <3.0.0"
823
flutter: ">=1.17.0"
@@ -16,3 +31,8 @@ dev_dependencies:
1631
flutter_test:
1732
sdk: flutter
1833
flutter_lints: ^1.0.0
34+
35+
36+
37+
38+

0 commit comments

Comments
 (0)