Skip to content

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

dart
class StoreGenerator extends Generator

See the API families guide for usage and ownership. This declaration is part of the public export surface.

StoreGenerator ​

dart
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 ​

dart
BuilderOptions options

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 ​

dart
BuilderOptions get options

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.

generate ​

dart
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

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

dart
String get version

See the API families guide for usage and ownership. This declaration is part of the public export surface.

Made with care for the Dart & Flutter community. MIT licensed.