FLUTTER ECOSYSTEM

yx_scope

A core package of the compile-safe DI framework with advanced scoping capabilities

Latest version
1.2.0
30-day downloads
903
Likes
70
Pub points
150

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

yx_scope is a core package of a compile-safe dependency injection (DI) framework offering advanced scoping capabilities. It enables developers to manage dependencies with strong type safety and efficient lifecycle control across different scopes, such as application-wide, per-widget, or custom-defined contexts. Built for performance and reliability, it integrates seamlessly into Flutter apps on all major platforms. The package ensures that dependencies are resolved at compile time, reducing runtime errors and improving development speed. It supports complex app architectures requiring fine-grained dependency management.

Use cases
  • Managing scoped dependencies in large-scale Flutter applications
  • Implementing per-screen or per-widget dependency isolation
  • Enabling compile-time safety for DI in complex state management
  • Integrating with other Yandex City Services packages
  • Building modular and testable Flutter architectures
Key features
  • Compile-safe dependency resolution
  • Advanced scoping mechanisms
  • Cross-platform support (Android, iOS, Web, macOS, Windows, Linux)
  • Integration with Yandex's ecosystem
  • Type-safe DI with minimal boilerplate
Suitable for
  • Developers building scalable Flutter apps
  • Teams using structured DI patterns
  • Projects requiring strict dependency lifecycle control
  • Yandex ecosystem integrations
  • Apps needing robust, testable state management
Considerations
  • Requires understanding of dependency injection principles
  • Best used within a larger DI framework context
  • May introduce learning curve for beginners
  • Limited standalone functionality outside its ecosystem
  • Depends on specific build-time code generation
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add yx_scope

Categories

Source repository

Related projects