Documentation Overview
Welcome to the flutter_it documentation! Here you'll find comprehensive guides for all the packages in the flutter_it ecosystem.
Available Packages
get_it
Simple service locator for dependency injection in Flutter applications.
Documentation:
- Getting Started - Learn the basics of get_it
- Object Registration - Different ways to register objects
- Scopes - Managing object lifecycles with scopes
- Async Objects - Working with asynchronous objects
- Multiple Registrations - Multiple instances of same type
- Advanced - Advanced techniques and patterns
- Testing - How to test with get_it
- Flutter Previews - Using get_it with Flutter previews
- FAQ - Frequently asked questions
watch_it
Reactive state management with automatic dependency tracking.
Documentation:
- Getting Started - Introduction to watch_it
- Your First Watch Functions - Basic watch patterns
- More Watch Functions - Advanced watch functions
- Watching Multiple Values - Combining multiple sources
- Watching Streams & Futures - Async data sources
- Watch Ordering Rules - Critical ordering constraints
- Side Effects with Handlers - Navigation, toasts, logging
- Lifecycle Functions - callOnce, createOnce, onDispose
- WatchingWidgets - Widget base classes
- Observing Commands - Integration with command_it
- Advanced Integration - Scopes and complex patterns
- Best Practices - Production-ready patterns
- Debugging & Troubleshooting - Common errors and solutions
- How watch_it Works - Internal architecture
- Watch Functions Reference - Complete API reference
command_it
Command pattern implementation for Flutter applications.
Documentation:
- Getting Started - Introduction to command_it
- Command Types - Sync, async, parameterized commands
- Command Builders - Building commands for widgets
- Error Handling - Managing errors and failures
listen_it
Event-driven architecture with easy event listening and dispatching.
Documentation:
- Listen - Introduction to listen_it
- Operators:
- Collections:
- Introduction - Reactive collections overview
- ListNotifier - Observable lists
- MapNotifier - Observable maps
- SetNotifier - Observable sets
- Notification Modes - Control when to notify
- Transactions - Batch updates
- Best Practices - Production patterns and tips
Getting Started
If you're new to flutter_it, we recommend starting with:
- What to do with which package? - Understand which package to use for what
- get_it Getting Started - Learn the fundamentals of dependency injection
watch_itGetting Started - Learn reactive state management
Examples
Check out our examples to see these packages in action with real-world code samples.