easix 3.0.0
easix: ^3.0.0 copied to clipboard
easix is a helper package that provide multiple handy function and extensions to use in your flutter project.
3.0.0 #
Breaking Changes: #
- Updates minimum supported SDK version to Flutter 3.27/Dart 3.6
- Add support for Flutter 3.35.2, Dart 3.9.0
New Features: #
- Enhanced DateTime & TimeOfDay Extensions: Comprehensive date and time formatting extensions with 20+ new methods
- Added multiple date formats: US format (
MM/dd/yyyy), European format (dd.MM.yyyy), ISO-like format, compact formats - Added relative time formatting: "2 days ago", "in 3 hours", simplified "2h", "30m"
- Added weekday and month name extractors (full and short)
- Added ordinal day formatting: "1st", "2nd", "3rd", "8th"
- Added smart chat timestamp formatting for messaging apps
- Added TimeOfDay utilities: AM/PM checks, time arithmetic (add/subtract minutes), time range checking
- Added DateTime conversion methods for TimeOfDay
- Added time remaining calculator and total minutes converter
- Combined
format_as_ymd.dartandformat_as_his.dartinto a single comprehensive extension file - Added detailed documentation with usage examples for all methods
- Added multiple date formats: US format (
Deprecations: #
- DEPRECATED: All EmptyPadding extension getters (
ph,pw,p) are now deprecated. UseGapandSliverGapwidgets instead for better performance and consistency
2.0.4 #
Fixes: #
- Fixed and optimized
navigator_ex.dart - Fixed issues with
adaptive_image.dart - Updated example
2.0.0 #
Breaking Changes: #
- Removed the following error-handling functions:
ServerErrorLocalErrorFailureValidateextension
New Features: #
- Introduced several
ThemeExtensionadditions:elevatedButtonThemeoutlinedButtonThemetextButtonThemetextSelectionThemeappBarTheme
- Added new extensions:
toColor()for easy color conversionNavigatorExto simplify navigation with context
- Introduced new widgets:
GapandSliverGapfor spacingAdaptiveImage()for flexible image handling
1.1.0 #
Enhancements: #
- Added new extensions for
theme,textTheme, andcolorScheme - Fixed the
initialsextension for improved functionality - Added the
initialextension for extracting the first character - Introduced the
getTypeListfunction 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 anotherisAfter: Checks if one date is after anotherdifferenceInMinutes: Calculates the minute difference between two datesisBetween: Verifies if a date falls between two othersto12Time: Converts a date to 12-hour time format
1.0.1 #
1.0.0 #
0.0.6 #
Fixes: #
- Resolved an issue in
convertToSortedDateListto ensure it returns a correctly sorted list of dates
0.0.5 #
New Features: #
- Added the
convertToSortedDateListfunction to convert a list with date properties into a sorted list
Enhancements: #
- Improved the
toHumanDate()function to support:ArabicandEnglishlanguagesshortandfulldate formats
- Removed the
toHumanDateString()extension function for cleaner API usage