df_plugins 0.5.0
df_plugins: ^0.5.0 copied to clipboard
Provides methods to create plugins for Dart and Flutter. This package demonstrates ways to make Dart and Flutter even more modular.
Changelog #
0.5.0 #
- chore: standardize README and CI/CD workflows, remove donation links, update contact info and repository links
- chore: resolve analyzer issues
0.4.0 #
- BREAKING:
Pluginis now sourced fromdf_di. The oldPlugin.initialize()hook is replaced byPlugin.install(DI scope)/Plugin.uninstall(DI scope). Each installed plugin owns a fresh child DI scope and is torn down cleanly on uninstall —ServiceMixinservices registered into the scope have theirdispose()cascaded automatically. - BREAKING:
PluginManagernow takes an optionalhost: DI?parameter. When provided,register()callshost.installPlugin(plugin)for proper lifecycle. When null (the default), the manager only accumulates plugins for builder-style composition — useful for pure widget-tree decorators with no side effects. - Subclasses (
WidgetPlugin,AttachableWidgetPlugin,FunctionalPlugin) continue to work — they inherit no-opinstall/uninstallby default. - Migration: replace
@override Resolvable<Unit> initialize() => ...with@override Resolvable<Unit> install(DI scope) => ....
0.2.2 #
- Released @ 7/2025 (UTC)
- Update dependencies
0.2.1 #
- Released @ 6/2025 (UTC)
- Update dependencies
0.2.0 #
- Released @ 6/2025 (UTC)
- Update dependencies
0.1.4 #
- Released @ 6/2025 (UTC)
- Update dependencies
0.1.2 #
- Released @ 6/2025 (UTC)
- chore: Update dependencies
0.1.1 #
- Released @ 11/2024 (UTC)
- fix: Fix linter issues
0.1.0 #
- Released @ 11/2024 (UTC)
- Initial commit