playx_core 0.4.1 playx_core: ^0.4.1 copied to clipboard
Core package for playx eco system contains shared classes and utilities.
0.4.1 #
- Add Tests for the package.
- Remove functions that check date weekDay and month from
DateExtensions
and replace them withdayOfTheWeek()
andmonthOfTheYear()
. - Add new
ColorExtensions
andColorUtils
to create custom utilities for colors. - Update DurationExtensions to optimize duration extensions and formatting durations.
- Add new
IterableExtensions
to add extensions likelastWhereOrNull
,lastWhereOr
,firstWhereOr
to Iterables. - Update
PlayxEnv
to not require a.env
file to be present in the project whenisOptional
is set true. - Add new
FutureExtensions
Extensions on [Future] to provide additional functionality.`
0.3.4 #
- Remove
flutter_readable
package from dependencies. - Add more extensions to the package.
- Add safe convert methods to
PlayxCore
to convert safely convert any dynamic value to the correct type.
0.3.3 #
- Update exports.
0.3.2 #
- Update exports.
0.3.1 #
Note: This release has breaking changes.
BREAKING Changes #
PlayXCore
was renamed toPlayxCore
.
New features #
- Added new IterableExtensions to add extensions like flatten, flatMap, flatAsyncMap to Iterables.
- Added new Kotlin inspired scope functions to
PlayxCore
likealso
,let
,run
,takeIf
andtakeUnless
. - Added new
toBoolean
extension toString
to convert string to boolean.\ - Added new example app to demonstrate the
PlayxCore
features.
0.2.0 #
Note: This release has breaking changes.
BREAKING Changes #
Prefs
was renamed toPlayxPrefs
.SecurePrefs
was renamed toPlayxSecurePrefs
.SecurePrefsSettings
was renamed toPlayxSecurePrefsSettings
.getString
,getInt
,getDouble
andgetBool
methods inPlayxPrefs
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
andgetBool
methods inPlayxSecurePrefsSettings
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 .
New features #
- Update packages.
- Added
PlayxEnv
: Wrapper for configure any the application with global variables using a.env
file`. - Update
PlayxCore
bootCore
method to takePlayxEnvSettings
parameter which is used to configureflutter_dotenv
and load the.env
file. - Added new
maybeGetString
,maybeGetInt
,maybeGetDouble
andmaybeGetBool
methods inPlayxPrefs
which return the value of it's type or null if the key not found or any error happened . maybeGetString
,maybeGetInt
,maybeGetDouble
andmaybeGetBool
methods inPlayxSecurePrefsSettings
which return the value of it's type or null if the key not found or any error happened .
0.1.2 #
- Move
Intl
package,DateExtensions
andNumExtensions
toplayx_localization
package.
0.1.1 #
- update packages and exports.
0.1.0 #
- Enhancements to
SecurePrefs
.
0.0.7 - 0.0.9 #
- Add
SecurePrefs
to be able to store encrypted keys in the device. - Upgrade Packages.
0.0.6 #
- Add format extension for strings to format stings.
0.0.5 #
- Add support for Dart 3.0.0 and Flutter 3.10
- Upgrade Packages.
- Add multiple extensions like
DateExtensions
,DurationExtensions
,NumDurationExtensions
andNumExtensions
. - Add common utilities.
0.0.4 #
- update Readme
0.0.3 #
- update packages
0.0.2 #
- fix typos
- add
capitalizeFirstChar(String str)
- add
capitalizeFirstCharForEachWord(String str)
0.0.1 #
- initial release.