mobx_codegen public API
This reference is generated from the resolved exports of package:mobx_codegen/mobx_codegen.dart, including export filters and explicitly declared public members. Inherited Dart and Flutter members follow their platform contracts. Start with the learning path for guided examples, or API families to choose the right abstraction. Low-level exports support adapters and generated code; exporting a symbol does not make it the best starting point for an application.
StoreGenerator
Import: package:mobx_codegen/mobx_codegen.dart
class StoreGenerator extends GeneratorSee the API families guide for usage and ownership. This declaration is part of the public export surface.
StoreGenerator
StoreGenerator([BuilderOptions options = BuilderOptions.empty])Uses the enclosing type’s contract. Constructor parameters configure this instance; accessors expose its current state. For standard collection or widget overrides, the corresponding Dart or Flutter contract also applies.
options
BuilderOptions optionsUses the enclosing type’s contract. Constructor parameters configure this instance; accessors expose its current state. For standard collection or widget overrides, the corresponding Dart or Flutter contract also applies.
options
BuilderOptions get optionsUses the enclosing type’s contract. Constructor parameters configure this instance; accessors expose its current state. For standard collection or widget overrides, the corresponding Dart or Flutter contract also applies.
generate
FutureOr<String> generate(LibraryReader library, BuildStep buildStep)Uses the enclosing type’s contract. Constructor parameters configure this instance; accessors expose its current state. For standard collection or widget overrides, the corresponding Dart or Flutter contract also applies.
storeGenerator
Import: package:mobx_codegen/builder.dart
Builder storeGenerator(BuilderOptions options)See the API families guide for usage and ownership. This declaration is part of the public export surface.
version
Import: package:mobx_codegen/mobx_codegen.dart
String get versionSee the API families guide for usage and ownership. This declaration is part of the public export surface.