nest_flutter 0.1.0
nest_flutter: ^0.1.0 copied to clipboard
Flutter integration for Nest Dart - bringing dependency injection and modular architecture to Flutter applications.
Changelog #
All notable changes to the nest_flutter package will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 - 2025-08-02 #
Added #
- ModularApp widget for easy Flutter app initialization
- ApplicationContainerProvider for widget tree integration
- ApplicationContainerNotifier with ChangeNotifier support
- Static Modular API for global service access
- Context-based service resolution with BuildContext integration
- Reactive service support with ChangeNotifier integration
- Widget testing utilities for testing with dependency injection
- Multi-platform support for all Flutter platforms
Features #
- ModularApp widget wraps your app with dependency injection
- ApplicationContainerProvider provides container to widget tree
- Modular class with static methods for service access
- Support for both static and context-based service resolution
- Integration with Flutter's reactive system via ChangeNotifier
- Proper disposal and cleanup of services
- Testing support with mock modules
Widget Integration #
- Easy service access from any widget
- Automatic container initialization
- Proper lifecycle management
- Memory leak prevention with proper disposal
Documentation #
- Complete Flutter integration guide
- Widget usage examples
- Testing patterns and examples
- Performance optimization tips
This is the initial release of nest_flutter, providing seamless integration between Nest Dart's dependency injection system and Flutter's widget architecture.