saropa_dart_utils 0.2.1+Adelaide
saropa_dart_utils: ^0.2.1+Adelaide copied to clipboard
Boilerplate reduction tools and human readable extension methods by Saropa
Change History for Saropa Dart Utils #
0.2.1+Adelaide (Latest) #
- ๐งน Migrated
List
extensions toIterable
0.2.0+Melbourne #
- ๐ New
Enum
Methods: Introduced byNameTry and sortedEnumValues methods for enums to enhance searching and sorting capabilities. - ๐ Added of list extensions for common operations such as finding the smallest, biggest, most, and least occurrences in a list.
- ๐งน Bumped medium version due to addition of collections package and sdk bumps (sdk: ">=3.4.3 <4.0.0", flutter: ">=3.24.0")
0.1.0+Tuscany #
- ๐งน Bumped medium version due to deprecations and rename of "string_nullable_utils.dart" to "string_nullable_extensions.dart"
0.0.11+Rome #
-
๐๏ธ Removed deprecated functions in
StringNullableExtensions
-
๐ Fixed
StringExtensions.removeStart
to return the input string when the search param is empty'Hello, World!'.removeStart(''); // 'Hello, World!'
-
โ๏ธ Added constant
DateConstants.unixEpochDate
DateConstants.unixEpochDate; // January 1st, 1970
-
โจ Added function
DateConstantExtensions.isUnixEpochDate
DateTime.utc(1970).isUnixEpochDate; // true
-
โจ Added function
DateConstantExtensions.isUnixEpochDateTime
DateTime.utc(1970, 1, 1, 0, 0, 1).isUnixEpochDateTime; // false
-
โจ Added function
IntStringExtensions.ordinal
101.ordinal(); // 101st
-
โจ Added function
StringUtils.getNthLatinLetterLower
String? StringUtils.getNthLatinLetterLower(3) // "c"
-
โจ Added function
StringUtils.getNthLatinLetterUpper
String? StringUtils.getNthLatinLetterUpper(4) // "D"
-
โจ Added function
IntUtils.findGreatestCommonDenominator
String? IntUtils.findGreatestCommonDenominator(15, 45) // 15
-
โจ Added function
IntExtensions.countDigits
(-12345).countDigits() // 5
0.0.10+Paris #
- Change start to be nullable
String? removeStart(String? start)
0.0.9+Geneva #
- Review of meta data
- Add trimFirst param to
StringExtensions.removeStart({bool trimFirst = false,}){...}
0.0.8+Nepal #
- Review of meta data
- Add trimFirst param to
StringExtensions.nullIfEmpty({bool trimFirst = true,}){...}
0.0.7+Jamaica #
- Renamed strings folder to singular
- Deprecated nullable string extensions
0.0.6 #
- Added Swipe gesture properties
0.0.5 #
- Added Documentation for all methods
- Added Code Usage in Example App
- Added Code Usage in README.md
- Added String Extension Methods
0.0.4 #
- Added Example App
- Setup Github Actions
- Create Pull request template
- Create Issue template
- Create Contributing guide
0.0.3 #
- Random enum method
0.0.2 #
- String to bool conversion methods.
0.0.1 #
- Initial release with bool list methods.