opticore 1.0.11
opticore: ^1.0.11 copied to clipboard
OptiCore is a lightweight micro-framework for Flutter that simplifies and optimizes your app development
[Beta 1.0.11] #
Code Optimizations and Documentation Updates #
- Documentation Update: Enhanced documentation with clearer examples and more detailed explanations for new widgets and extensions.
[Beta 1.0.10] #
Enhancements and New Features #
- LazyIndexedStack Widget: Introduced
LazyIndexedStackfor optimized performance by deferring the loading of non-visible children. - SizedBox Extension: Added extensions for more flexible
SizedBoxcreation with methods likewidth(),height(),box(),expand(),alignedBox(),paddedBox(), andflexible(). - SVG Widget Customization: Enhanced the customization options for
SvgWidget, allowing for more flexible and efficient use in applications.
[Beta 1.0.9] #
Enhancements and New Features #
- App Bar Logic: Added
_getAppBar()to handle app bar selection based onscaffoldConfigandappBarData. - ScaffoldConfig: Added
copyWithmethod for easier object modification. - BlocProvider Fix: Corrected baseContext issue.
- Widget Extensions: Added
expandedandflexibleextensions for better layout handling. - Content Builder: Enhanced functionality.
- NullNonRenderState: Added
NullNonRenderStateclass.
[Beta 1.0.8] #
Minor Updates #
- Code Refinement: Improved internal code structure for better maintainability and readability.
[Beta 1.0.7] #
Enhancements and New Features #
AlignmentExtension: Added alignment methods likealignTopStart,alignCenter, etc., to easily align widgets using theAlignwidget.CenterExtension: Introduced thecentergetter to simplify centering widgets within their parent using theCenterwidget.EmptyPadding: Added shorthand methodsphfor vertical andpwfor horizontal padding, making it easier to add padding to widgets.PaddingExtension: Enhanced with methods for custom directional padding (paddingOnly), uniform padding (paddingAll), and symmetric padding (paddingSymmetric).VisibilityExtension: Added theanimatedOpacitymethod to toggle visibility with animation, allowing widgets to fade in/out.
Improvements #
- AppBarConfig: Enhanced the
AppBarConfigwith additional properties to customize app bars further. - Leading Widget: Improved handling of the
leading_widgetinCoreAppBarfor better consistency. - CoreAppBar: Polished and refined the
CoreAppBarfor a more consistent and efficient experience.
[Beta 1.0.6] #
Improvements #
- Enhanced code formatting for better readability.
- Fixed all warnings and analysis issues for a cleaner codebase.
[Beta 1.0.5] #
Enhancements and New Features #
- Updated Dependencies: Upgraded the package dependencies to ensure compatibility, security, and performance improvements.
SvgWidgetEnhancements: Made thetypeparameter required, ensuring more robust and predictable behavior when using theSvgWidget.CoreSheetImprovements: Added aSafeAreato the child ofCoreSheet, enhancing the user interface by preventing content from being obscured by system UI elements.- Theme Extension: Introduced a new
ThemeExtensionto provide developers with an extended theming capability, enabling more customized and consistent styling across the application.
Fixes #
CoreAssetsIssue Resolved: Fixed an issue withCoreAssetspaths to ensure proper resolution and loading of assets when the package is used in other projects.
[Beta 1.0.4] #
Enhancements and New Features #
ArabicToEnglishNumberFormatter: Added a utility for converting Arabic numerals to English numerals for consistent number formatting across locales.ScrollBehaviorHelper: Introduced a custom implementation ofMaterialScrollBehaviorto provide platform-specific scroll physics. This improves the scrolling experience on iOS, Android, macOS, and other platforms.LifecycleEventHelper: A new class that observes app lifecycle changes, enabling developers to run custom actions when the app is resumed or suspended. It provides optionalresumeCallBackandsuspendingCallBackparameters for handling specific lifecycle states.- Download Method Enhancement: Fixed an issue with the
HTTPMethod.downloadcase in the Dio integration, including improved handling of download progress through theonReceiveProgresscallback. - Fixed
onSendProgressIssue: Resolved issues with tracking upload progress in the DioonSendProgresscallback. AfterLayoutMixin: Introduced a mixin to trigger actions after the first layout of a widget has been rendered. This ensures that layout-dependent logic is executed after the widget tree has been fully built.- Safe List Value Fix: Corrected issues with safe access to list values, ensuring null safety and preventing runtime errors.
- Enhanced
ContentBuilderandBaseScreen: Improved handling of content rendering and base screen management to optimize app flow and usability. - Enhanced
CoreSetup: Refined theCoreSetupclass by incorporating theAfterLayoutMixinto manage the configuration initialization process more effectively. The_initializeConfigurationsmethod now allows the use ofonBeforeConfigApplyfor handling actions before configuration is applied.
Improvements #
- Default Scroll Behavior: The
ScrollBehaviorHelperis now the default class for scroll behavior, enhancing scrolling performance with platform-specific optimizations. - Configuration Handling: Added
checkerboardRasterCacheImages,checkerboardOffscreenLayers,showPerformanceOverlay,locale,scaffoldMessengerKey, andscrollBehavioras configurable options inCoreSetupto allow fine-grained control over app behavior and performance. - Improved Config Initialization: The
CoreSetupclass now supports more flexible configuration management by providing hooks likeonBeforeConfigApply, ensuring that configurations are applied in a structured, sequence-sensitive manner.
Fixes #
- Improved Error Handling: Addressed minor issues in the error-handling logic, ensuring more robust behavior when handling edge cases and null values.
- Resolved Layout Timing Issues: Fixed issues with the timing of layout-dependent operations using
AfterLayoutMixin, ensuring smoother UI rendering.
[Beta 1.0.3] #
Enhancements and New Features #
- Integrated dependencies into the package export to simplify usage. These dependencies can now be accessed directly through the package, eliminating the need for separate installations:
flutter_bloctalkertalker_dio_loggerdiobot_toastfont_awesome_flutterlottieequatableflutter_svginternet_connection_checker_plusconnectivity_pluscached_network_imagemodal_bottom_sheet
Improvements #
- Simplified the developer experience by bundling common dependencies into the package, making it easier to set up and use.
Fixes #
- Minor adjustments to the package structure to improve compatibility with bundled dependencies.
[Beta 1.0.2] #
Enhancements and New Features #
- Added comprehensive documentation for all string-related extensions, improving clarity and ease of use.
- Enhanced error handling in string formatting extensions to ensure robust and fail-safe operations.
- Improved Arabic to English number conversion logic ensuring better handling of edge cases.
- Refactored formatPrice method for better performance and readability.
- Streamlined the formatDate method to handle malformed date strings gracefully.
Fixes #
- Fixed minor inconsistencies in null-checking logic for nullable strings.
- Resolved an issue where invalid date strings would not default to the current date properly.
[Beta 1.0.1] #
Enhancements and Optimizations #
- Improved code quality by addressing warnings and enhancing linting rules to comply with best practices.
- Optimized the code for better performance, including refactoring certain components and reducing redundant logic.
- Enhanced analyzer warnings to ensure better detection of potential issues, improving code maintainability.
- Added Example to demonstrate the package’s structure and usage, making it easier for developers to understand and integrate the package into their projects.
- Made minor UI adjustments to enhance the user experience in various components.
- Improved documentation for better understanding of the package's architecture and future extensibility.
[Beta 1.0.0] #
Initial Release (Beta) #
- Initial version of the package, laying the foundation for future development.
- Introduced core functionality for OptiCore, including essential components for UI state management, error handling, and animations.
- Released a structured, scalable architecture designed to accommodate future feature enhancements and optimizations, with placeholders for upcoming improvements.