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
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)
4
4
5
-
Includes a set of **String** , **Int** , **List** functions and so on. that make your work much faster and easier.
5
+
## Features
6
6
7
-
**version 0.0.10 Includes only String utils**.
7
+
-**String** : Over 35 useful String utility functions.
@@ -26,40 +36,40 @@ or enter this to your command line:
26
36
Includes over 30 useful string functions such as :
27
37
28
38
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
63
73
64
74
## How To Use
65
75
### Example for StringUtils :
@@ -89,6 +99,6 @@ void main() {
89
99
}
90
100
```
91
101
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.
Copy file name to clipboardExpand all lines: pubspec.yaml
+22-2Lines changed: 22 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,23 @@
1
1
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)
0 commit comments