easix 2.0.4
easix: ^2.0.4 copied to clipboard
easix is a helper package that provide multiple handy function and extensions to use in your flutter project.
2.0.4 #
2.0.0 #
Breaking Changes: #
- Removed the following error-handling functions:
ServerError
LocalError
Failure
Validate
extension
New Features: #
- Introduced several
ThemeExtension
additions:elevatedButtonTheme
outlinedButtonTheme
textButtonTheme
textSelectionTheme
appBarTheme
- Added new extensions:
toColor()
for easy color conversion.NavigatorEx
to simplify navigation with context.
- Introduced new widgets:
Gap
andSliverGap
for spacing.AdaptiveImage()
for flexible image handling.
1.1.0 #
Enhancements: #
- Added new extensions for
theme
,textTheme
, andcolorScheme
. - Fixed the
initials
extension for improved functionality. - Added the
initial
extension for extracting the first character. - Introduced the
getTypeList
function for better type handling.
1.0.2 #
Updates: #
- Upgraded the initial version to
0.19.0
.
New Functions: #
isBefore
: Checks if one date is before another.isAfter
: Checks if one date is after another.differenceInMinutes
: Calculates the minute difference between two dates.isBetween
: Verifies if a date falls between two others.to12Time
: Converts a date to 12-hour time format.
1.0.1 #
1.0.0 #
0.0.6 #
Fixes: #
- Resolved an issue in
convertToSortedDateList
to ensure it returns a correctly sorted list of dates.
0.0.5 #
New Features: #
- Added the
convertToSortedDateList
function to convert a list with date properties into a sorted list.
Enhancements: #
- Improved the
toHumanDate()
function to support:Arabic
andEnglish
languages.short
andfull
date formats.
- Removed the
toHumanDateString()
extension function for cleaner API usage.