NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #4741 most downloaded on pub.dev
Core package for playx eco system contains shared classes and utilities.
Last release 6 months ago
01 Apr 2026
Ships fairly regularly
a new release about every 2 months
Most releases are documented
notes for 29 of 36 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
42 releases · first in 2022
One column per quarter.
Refactored PlayxColorExtensions to eliminate deprecated dart:ui getters, transitioning to Flutter 3.24 wide-gamut compatibility (a, r, g, b). Added fr…
'data.user.name') in all safe_json_convert functions.toEnum/asEnum and toUri/asUri safe conversion functions.toListOrNull by adding a fallback to List<T>.from(value) for safer runtime casting.TalkerPlayxLogger to strictly respect the enabled configuration, utilize debugPrint, and automatically disable colored output in Web environments to avoid unformatted ANSI codes.PlayxColorExtensions to eliminate deprecated dart:ui getters, transitioning to Flutter 3.24 wide-gamut compatibility (a, r, g, b). Added fromHex, lighten, darken, and isDark helper methods.String, Iterable, DateTime, Duration, bool, BuildContext) to include new highly-requested utilities:
toIntOrNull(), isNumeric, isValidEmail, toSlug(), and NullableStringExtensions on String? (e.g., isNullOrEmpty).chunked, groupBy, sortedBy, and numeric aggregates (sum, average).startOfDay, endOfMonth, and startOfWeek.ColorScheme properties (e.g., onPrimary, surfaceContainer) directly to BuildContext for agile theming.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add new asTOr and asT safe json convert functions.
printError param to **MapUtils** mapAsync and mapAsyncInIsolate methods to determine whether to print errors or not.asyncMapInIsolate in NestedIterablesExtensions to include a printError parameter and printEachItemError parameter to determine whether to print errors for each item or not.Nothing published for this version
Nothing published for this version
Nothing published for this version
> Note: This release has breaking changes.
Note: This release has breaking changes.
New System Utilities (common_utils.dart)
setNavigationBarColor: Set navigation bar color and icon brightness.setOrientation: Lock screen orientation with optional rotation.hideKeyboard / showKeyboard: Control keyboard visibility.enterFullScreen / exitFullScreen: Toggle immersive full-screen mode.copyToClipboard / getClipboardText / clearClipboard: Manage clipboard content.setStatusBarColor now sets statusBarBrightness for improved iOS support.Safe Conversion Utilities (safe_convert.dart & safe_json_convert.dart)
Added:
toNumOrNull, toNumOr, toNumtoDateTimeOrNull, toDateTimeOr, toDateTimetoLocalDateTimeOrNull, toLocalDateTimeOr, toLocalDateTimeImproved:
fromJson<T, S>)asTOrNull: Now cleaner and more robustRefactored for consistency, better error handling, and improved documentation.
This version introduces a modern, powerful, and highly configurable logging system using the talker_logger package.
PlayxLogger with a modular and extensible system.PlayxBaseLogger: Abstract base for all logger implementations.TalkerPlayxLogger: Concrete logger using talker_logger, supports customization (name, colors, log levels, filters, formatters).PlayxLoggerSettings: Configure behavior globally (log level, console output, filters, etc.).PlayxLogger: Static utility class to manage and use named logger instances.PlayxCore now initializes a default logger named 'PLAYX CORE' on setup.
Internal operations like preference booting, environment loading, and error tracking now leverage the enhanced logger:
PlayxLogger.d('Debug message');
PlayxCore.logger.error('An error occurred', error:error);
Existing utilities (MapperUtilities, IterableExtensions) now use the new logger for standardized logging.
talker_logger: ^4.7.7 to pubspec.yaml.Nothing published for this version
Updates minimum supported SDK version to Flutter 3.24/Dart 3.5.
Add new printError param to MapUtils mapAsync and mapAsyncInIsolate methods to determine whether to print errors or not.
printError param to **MapUtils** mapAsync and mapAsyncInIsolate methods to determine whether to print errors or not.asyncMapInIsolate in NestedIterablesExtensions to include a printError parameter and printEachItemError parameter to determine whether to print errors for each item or not.> Note: This release has breaking changes.
Note: This release has breaking changes.
mapAsync and mapAsyncInIsolate now require the following parameters:
T data: The data to be mapped.Mapper<T, S> mapper: A required named parameter for the transformation logic.Iterable<T>
asyncMap and asyncMapInIsolate to require Mapper<T, S> mapper as a named parameter.NestedIterablesExtensions<T>:
asyncFlatMap. Use flatMapAsync instead.flatMap and flatMapAsync to require Mapper<T, S> mapper as a named parameter.mapAsyncInIsolate to map items in an isolate using workerManager by default.useWorkManager parameter:
true, uses workerManager to execute tasks.false, falls back to the compute method.bootCore)
PlayxPrefsSettings: Handles configurations for createPlayxPrefs, createPlayxAsyncPrefs, and createPlayxPrefsWithCache methods, which are now moved from the bootCore method.WorkManagerSettings: Supports additional configurations in the bootCore method.createSecurePrefs parameter to control the creation of secure storage during the boot process.mapAsync and mapAsyncInIsolate methods in the MapAsync<T> extension:
mapAsync now takes a Mapper<T, S> mapper as a required named parameter.mapAsyncInIsolate now includes the following parameters:
Mapper<T, S> mapper: Required transformation logic.bool useWorkManager: Defaults to true. Specifies whether to use workerManager or compute.fix: getDouble method in PlayxPrefs and PlayxAsyncPrefs return double not double or null.
getDouble method in PlayxPrefs and PlayxAsyncPrefs return double not double or null.refactor: Update safe_convert methods asIntOr, asDoubleOr, asBoolOr, asStringOr, asListOr, asMapOr, asListTOr, asListTFromJsonOr, asListIntOr, asListS
safe_convert methods asIntOr, asDoubleOr, asBoolOr, asStringOr, asListOr, asMapOr, asListTOr, asListTFromJsonOr, asListIntOr, asListStringOr, asTOr to take dynamic json instead of a Map<String,dynamic> json value.> Note: This release has breaking changes.
Note: This release has breaking changes.
safe_convert methods
asInt, asDouble, asBool, asString and asList, asMap, asListT, asListTFromJson ,asListInt, asListString, asT now throws FormatException if the result was invalid.asIntOr, asDoubleOr, asBoolOr, asStringOr, asListOr, asMapOr, asListTOr, asListTFromJsonOr, asListIntOr, asListStringOr, asTOr methods to provide a fallback value if the result was invalid.asListTFromJson method to convert a list of dynamic values to a list of a specific type.fromJson to asTOrNull, asT and asTOr.Nothing published for this version
- Update Readme
Added PlayxAsyncPrefs for non-blocking shared preferences handling.
PlayxAsyncPrefs for non-blocking shared preferences handling.PlayxPrefsWithCache for faster data retrieval with in-memory caching.GetIt integration for dependency injection management.PlayxCore to include GetIt instance management.PlayxPlatform class to provide platform-specific utilities.Add a new clearOnReinstall method to PlayxSecurePrefs to clear all the keys stored in the secure prefs when the app is reinstalled.
clearOnReinstall method to PlayxSecurePrefs to clear all the keys stored in the
secure prefs when the app is reinstalled.clearOnReinstall parameter to PlayxSecurePrefsSettings to clear all the keys stored
in the secure prefs when the app is reinstalled which is set to true by default.- Update packages.
Remove functions that check date weekDay and month from DateExtensionsand replace them with dayOfTheWeek() and monthOfTheYear().
DateExtensionsand replace them
with dayOfTheWeek() and monthOfTheYear().ColorExtensions and ColorUtils to create custom utilities for colors.IterableExtensions to add extensions
like lastWhereOrNull, lastWhereOr, firstWhereOr to
Iterables.PlayxEnv to not require a .env file to be present in the project when isOptional is
set true.FutureExtensions Extensions on [Future] to provide additional functionality.`Remove flutter_readable package from dependencies.
flutter_readable package from dependencies.PlayxCore to convert safely convert any dynamic value to the correct
type.- Update exports.
- Update exports.
> Note: This release has breaking changes.
Note: This release has breaking changes.
PlayXCore was renamed to PlayxCore.PlayxCore like also, let, run, takeIf
and takeUnless.toBoolean extension to String to convert string to boolean.\PlayxCore features.> Note: This release has breaking changes.
Note: This release has breaking changes.
Prefs was renamed to PlayxPrefs.SecurePrefs was renamed to PlayxSecurePrefs.SecurePrefsSettings was renamed to PlayxSecurePrefsSettings.getString, getInt, getDouble and getBool methods in PlayxPrefs now return non nullable
value of it's type with the ability to provide it with a fallback that is returned if the key not
found .getString, getInt, getDouble and getBool methods in PlayxSecurePrefsSettings now return
non nullable value of it's type with the ability to provide it with a fallback that is returned if
the key not found .PlayxEnv : Wrapper for configure any the application with global variables using a .env
file`.PlayxCore bootCore method to take PlayxEnvSettings parameter which is used to
configure flutter_dotenv and load the .env file.maybeGetString, maybeGetInt, maybeGetDouble and maybeGetBool methods
in PlayxPrefs which return the value of it's type or null if the key not found or any error
happened .maybeGetString, maybeGetInt, maybeGetDouble and maybeGetBool methods
in PlayxSecurePrefsSettings which return the value of it's type or null if the key not found or
any error happened .Move Intl package, DateExtensions and NumExtensions to playx_localization package.
Intl package, DateExtensions and NumExtensions to playx_localization package.- update packages and exports.
- Enhancements to SecurePrefs.
SecurePrefs.Nothing published for this version
Nothing published for this version
Add SecurePrefs to be able to store encrypted keys in the device.
SecurePrefs to be able to store encrypted keys in the device.Add format extension for strings to format stings.
Add support for Dart 3.0.0 and Flutter 3.10
DateExtensions, DurationExtensions , NumDurationExtensions
and NumExtensions.- update Readme
- update packages
add capitalizeFirstChar(String str)
capitalizeFirstChar(String str)capitalizeFirstCharForEachWord(String str)- initial release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →