- Added
isEmptyOrNull
andisNotEmptyOrNull
extensions forList
andString
objects. These extensions are identical toisNullOrEmpty
andisNotNullOrEmpty
, respectively. - Fixed a bug in the
DateTime
extension that caused incorrect results when comparing dates usingisToday
.
- Added the
isNullOrEmpty
andisNotNullOrEmpty
extensions forList
objects. - Fixed a bug in the
Ticker
extension that prevented intervals shorter than 1 second from being used. - [chore] Added unit tests for all extensions and utilities in the package.
- Added a non-breaking space character to
CommonString
asCommonString.nbsp
- Updated package dependencies
-
Added the
printValue()
extension. TheprintValue()
extension can be used to print a value to the console before returning that same value.Example:
// Print the `textTheme` object to the console before returning it Text( 'Hello, world', style: Theme.of(context).textTheme.printValue().headlineMedium, ),
- Null
String
s being manipulated should returnnull
instead of an emptyString
- Made
String
manipulation utilities available for nullable objects
- Adjusted
capitalize
extension to convert remaining letters to lowercase
- Added additional
String
manipulation utilities, including:capitalizeWords
: Capitalizes the first letter of each word in the string.spacePascalCase
: Adds spaces between words in a PascalCase string.
- Added additional documentation and examples for new extension.
- Added the
unique
extension forList
objects.
- Removes
Color
extension due to an incompatibility with Flutter. Sorry, @rania-run!
- Ensure new
Color
extensions are exported from the package.
- Added
Color
extension for luminance. Thanks, @rania-run! - Fixed a bug in the
splitByLength
extension onString
- [BREAKING] Removed
Unfocuser
widget to ensure pure Dart compatibility.
To continue using Unfocuser
, add unfocuser: ^1.0.0
to your pubspec.yaml.
- Added
yesterday
andtomorrow
extensions toDateTime
- Added an example project
- Updated documentation
- Updated linting rules to use arcane_analysis
- Added bulletPoint to CommonString
- Added Unfocuser widget and JSON converters
- Initial release