opticore 2.1.6
opticore: ^2.1.6 copied to clipboard
OptiCore is a lightweight micro-framework for Flutter that simplifies and optimizes your app development
π Changelog #
All notable changes to this project are documented here. Each release includes details about new features, improvements, bug fixes, and any breaking changes, helping users and developers track the evolution of OptiCore.
π Versioning Strategy #
We follow Semantic Versioning (SemVer) to indicate the nature of changes:
- π MAJOR: Breaking changes that may affect compatibility.
- π MINOR: New features or improvements that are backward compatible.
- π PATCH: Bug fixes and minor improvements that are backward compatible.
Each section lists the changes in chronological order, with the most recent release at the top. Where applicable, links to relevant discussions or issues are provided.
π [2.1.6] - Event Transformers & UI Enhancements #
-
π― New Features:
- Added Event Transformers for BLoC pattern with debounce and sequential processing
- Introduced
debounce()transformer with customizable duration for delayed event processing - Added predefined transformers:
fastDebounce(),standardDebounce(),slowDebounce(),verySlowDebounce() - Implemented
sequential()transformer for one-by-one event processing
-
π¨ UI Improvements:
- Enhanced
CoreButtonwith additional tap gesture support - Added
barrierColorproperty toCoreSheetfor better customization
- Enhanced
-
π Bug Fixes:
- Fixed status bar icon color issues across different themes
- Resolved type compatibility issues in theme extensions (
AppBarThemeData,InputDecorationThemeData)
π [2.1.5] - Scroll Overlay & Usability Improvements #
-
π§© New Widget:
ScrollStatusBarOverlay: Wraps a scrollable and paints an overlay behind the status bar to improve visual experience in scrollable UIs.
-
π¨ UI Enhancements:
- Added
PlaceholderAlignmentsupport towithUnderlineinsideWidgetSpanfor more control over inline widget alignment. - Introduced zero
itemPaddingdefault toFlexibleGridViewfor tighter and more compact grid spacing.
- Added
-
π Extensions:
- Enhanced
safeIntextension for better default handling and fallback precision.
- Enhanced
-
π¦ Dependency Updates:
- Updated internal dependencies for performance, compatibility, and future-proofing.
β¨ [2.1.4] - UI & String Extension Enhancements #
-
π ExpandableText:
- Added
underlinesupport for enhanced text styling.
- Added
-
π String Extension:
- Introduced
.arabicNumbersgetter to convert English digits into Arabic numerals.
- Introduced
π§ [2.1.3] - Validation Toolkit & Dependency Updates #
-
π¦ Dependency Updates:
- Upgraded internal packages to ensure stability and compatibility
-
β Validation Improvements:
- Integrated
auto_validatepackage - Centralized and enhanced validation capabilities across the micro-framework
- Integrated
π [2.1.2] - API Enhancements #
- π§° Improved Map Extensions:
- Made
keyparameter optional insafeList<T>()for more flexible API usage - Enhanced return behavior to provide empty list when key is not provided
- Made
π [2.1.1] - Static Analysis Improvements #
- π Enhanced pub score with improved static analysis compliance
- π Documentation refinements for better DartDoc generation
- π Type safety enhancements across all components
- π§Ή Code cleanup with removal of unused imports and dependencies
π [2.1.0] - Core Improvements & New Components #
π New Features
- π§© Added
StateBuilderwidget for selective UI updates based on specific component states - ποΈ Added
ComponentDataStateinRenderStatefor better state management - π§° New Extensions:
DoubleFormatterfor smart number formatting (formatSmart)IterableExtensionwithfirstWhereOrNullmethod for safer collection operations
- ποΈ Enhanced CoreButton with new properties (
dimmedBackgroundColor,dimmedTextColor)
π Improvements
- πΌοΈ SvgWidget Enhancements:
- Auto-detection of SVG type
- More flexible property requirements (path, bytes, or file)
- π API & Network improvements:
- Better error handling
- Fixed issues with status code parsing
- Improved connection timeout handling with proper loading states
- Fixed
updateHeadersissues inBaseRepo
- π± UI Components:
- Enhanced click behavior in
ExpandableText - Added
enableScrollproperty toCoreSheet - Set
itemPaddingdefault to zero inFlexibleListView
- Enhanced click behavior in
- π Code Quality:
- Improved
BaseBlocimplementation - Updated dependencies to latest versions
- Improved
π Breaking Changes
- π Renamed
buildertoitemBuilderinFlexibleGridViewfor API consistency
π [2.0.1] - Documentation Update #
- π Enhanced README.md: Improved clarity, structure, and formatting for better readability.
πΉ [2.0.0] - Initial Stable Release #
- π First official stable release of OptiCore.
For a complete history of updates during the beta phase, refer to Beta History.
Stay updated with the latest enhancements and fixes! π