vit_dart_extensions 4.0.1
vit_dart_extensions: ^4.0.1 copied to clipboard
Home to useful definitions for dart extensions on basic types.
4.0.1 #
- Minor:
Map.tryGetDateTimenow is optimized to not try to convert empty strings into DateTime objects.
4.0.0 #
- BREAKING:
DateTime.fromEuropeanis now called "fromDDMMYYYY". - Fixed linting problem when importing
TimeUnit.
3.1.0 #
- Feat: Added
isTodaygetter to DateTime extensions to check if a DateTime represents the current date.
3.0.1 #
- Fix:
String.toSimplenow correctly normalizes and removes accent marks from characters such as "â" and "î".
3.0.0 #
- BREAKING:
Iterable.sumis now a getter instead of a method. - Feat:
Iterable.avggetter.
2.9.0 #
- Feat:
Iterable.pickNRandom. - Feat:
Iterable.pickRandomnow has "exclude" and "excludeItems" options.
2.8.1 #
- Fix:
Duration.toReadablenow has adjancy check for time units. Meaning strings like "2d 26s" won't be generated anymore.
2.8.0 #
- Feat:
Duration.toReadablenow has "maxUnits" and "unitNames".
2.7.1 #
- Fix:
String.toSimplenow replaced "e" variations.
2.7.0 #
- Added
countto Iterable extensions.
2.6.1 #
- Fixed
addMonths.
2.6.0 #
- Added
addMonthsto DateTime extensions. - Added
sumto Iterable of num.
2.5.0 #
- Added
countin String extensions.
2.4.0 #
- Added
fromEuropeanin DateTime extensions.
2.3.0 #
- Added
sortByNumericStringin List extensions.
2.2.0 #
- Added
sortByDate,sortByNumandsortByStringin List extensions.
2.1.0 #
- Added
toSimplein String extensions.
2.0.0 #
- BREAKING:
getMaybeDateTimewas renamed totryGetDateTimein Map extensions. - Added
getDoubleandtryGetDoublein Map extensions. - Added
getListin Map extensions.
1.8.1 #
- Removed non-existent method on README.
1.8.0 #
- Added
toTitleCaseon String extensions. hasLengthBetweennow throws a RangeError when an invalid range is given.
1.7.2 #
- Fix
pickRandomextension method of DateTime generating dates outside the desired range.
1.7.1 #
- Fix
pickRandommethod from DateTime extension limitation on 32 bit int.
1.7.0 #
- Added
pickRandomon Iterable extensions. - Added static method
pickRandomto DateTime extensions.
1.6.1 #
- Fixed README summary.
1.6.0 #
- Added
removeIndiceson Iterable extensions.
1.5.1 #
- Added option in duration's
toReadableto display millisecond as decimal in seconds unit.
1.5.0 #
- Added
toReadablein Duration extensions. - Moved
firstWhereOrNullfrom List to Iterable extensions.
1.4.0 #
- Added
hasUpperCase,hasLowerCase,hasNumber,hasSymbol, andhasLengthBetweento String extensions.
1.3.0 #
- Breaking Change: Removed BR related extension methods to separate package.
- Removed
intldependency.
1.2.0 #
- Added
getInitialsto String extensions. - Added missing String extensions documentation to README.md
1.1.0 #
- Added
firstWhereOrNullto List
1.0.1 #
- Separated "dart:io" extensions to "vit_dart_extensions_io.dart" file.
1.0.0 #
- Initial version.