ecco 0.0.1+7 ecco: ^0.0.1+7 copied to clipboard
A simple, MVVM-focused state management solution for Flutter.
Changelog #
All notable changes to the Ecco package will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.0.1+5] - 2024-08-18 #
Fixed #
EccoExtension
onBuildContext
wasn't working as intended
Changed #
- Updated internal widget tree traversal mechanism for more efficient ViewModel lookup.
Developer Notes #
- The
ecco
extension method provides a more intuitive API for accessing ViewModels within the Ecco MVVM architecture. - Usage example:
final viewModel = context.ecco<MyViewModel>();
[0.0.1+2] - 2024-08-18 #
Added #
- Introduced EccoExtension on BuildContext for easier access to Ecco notifiers using context.ecco
Changed #
- Updated EccoNotifier to include more robust error handling for disposed notifiers.
- Improved type safety in EccoProvider.of
Fixed #
- Corrected inconsistencies in example code within main.dart.
[0.0.1+1] - 2024-08-13 #
- Updated README.md with corrected examples for EccoBuilder and EccoConsumer
- Fixed inconsistencies in the Basic Setup section of README.md
[0.0.1] - 2024-08-13 #
Added #
- Initial release of the Ecco package.
- Core functionality:
EccoNotifier
for managing state.EccoProvider
for making state available to the widget tree.EccoBuilder
for rebuilding UI parts when state changes.EccoConsumer
for accessing both model and viewmodel in a widget.
- MVVM architecture support.
- Debug overlay for state visualization.
- Logging functionality with customizable log levels.
- Support for
Equatable
for efficient state comparisons. - Basic example demonstrating usage of Ecco in a counter app.
- Comprehensive README with usage instructions and best practices.
- Unit tests covering core functionality.
Known Issues #
- Debug overlay may have performance impact on complex apps. Use with caution in production.