Choose an API by responsibility
Start with Observable, Computed, actions, and Observer. The larger public surface includes collection notifications, custom adapters, generated-code support, and diagnostic hooks. This guide separates their roles without hiding the advanced APIs.
| Family | Use it for | Explanation and examples |
|---|---|---|
Observable, ObservableValue, Computed, EqualityComparer | Facts and derived values | Observables, fundamentals |
Action, runInAction, transaction, untracked, AsyncAction | Group writes or control tracking | Actions, runtime boundaries |
autorun, reaction, when, asyncWhen, Reaction, ReactionDisposer | Effects and their lifetimes | Reactions, live example |
ObservableList, ObservableMap, ObservableSet and change/listener types | Reactive collections and mutation records | Collections |
ObservableFuture, FutureStatus, ObservableStream, StreamStatus | Async state | Async ownership |
observable, computed, action, readonly, alwaysNotify, MakeObservable, ComputedMethod, StoreConfig, Store | Generated store declarations | Annotations and tooling |
Observer, ReactionBuilder, MultiReactionBuilder | Flutter rendering and effects | Flutter integration |
StatelessObserverWidget, StatefulObserverWidget, observer element and widget mixins | Custom Flutter reactive widgets | Flutter integration |
ReactiveContext, ReactiveConfig, read/write policies, createContext, mainContext | Isolated runtimes and enforcement | Context, advanced APIs |
Atom, AtomSpyReporter, Derivation, ActionController, ActionRunInfo, ConditionalAction | Adapters and generated-code machinery | Advanced APIs, internals |
Listenable, Listener, Listeners, Interceptable, Interceptor, Interceptors, change notifications | Low-level mutation observation and interception | Advanced APIs |
SpyEvent and its subclasses, SpyListener, ReactionErrorHandler, exception types | Diagnostics and error reporting | Spy, advanced APIs |
| Primitive, collection, future, and stream extensions | Concise wrapping and operators | Extensions |
StoreGenerator, build configuration, package version values | Tooling and package identification | Tooling |
Complete local reference
The following pages are generated from this checkout's resolved exports. They include every exported declaration and its declared public members, including constructors and options. Standard inherited methods retain their Dart/Flutter contracts.
- mobx public declarations and members
- flutter_mobx public declarations and members
- mobx_codegen public declarations and members
dart run tool/docs_inventory.dart --check fails when the inventory differs from the code. node docs/scripts/api-reference.mjs renders that inventory into the reference. This is a coverage guard, not a substitute for reviewing whether prose and examples teach an API well.