mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-23 21:13:35 +00:00
- Replaced the main action button text with 'Explore CherryPick Documentation 🍒' instead of 'Docusaurus Tutorial'.
- Updated the button link to target /docs/intro (main docs entry point).
- Changed <Layout> props:
- Page title now uses project title only (siteConfig.title)
- Added a CherryPick-related site description for better SEO and context.
- The homepage is now tailored to reflect CherryPick's purpose as a Dart & Flutter DI library instead of Docusaurus boilerplate.
470 B
470 B
sidebar_position
| sidebar_position |
|---|
| 4 |
Dependency Resolution API
resolve<T>()— Locates a dependency instance or throws if missing.resolveAsync<T>()— Async variant for dependencies requiring async binding.tryResolve<T>()— Returnsnullif not found (sync).tryResolveAsync<T>()— Returnsnullasync if not found.
Supports:
- Synchronous and asynchronous dependencies
- Named dependencies
- Provider functions with and without runtime parameters