Flutter Mobx live templates is a way to use Mobx state management very quickly. This plugin contains different snippets for create Mobx Store class, Observables and action with built-in type and also with custom data type.
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "flutter mobx live tamplate" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Shortcut | Description |
---|---|
obs | New Observer widget block |
mobxStore | New mobx store class |
stringObservable | Create Observable with String |
intObservable | Create Observable with int |
doubleObservable | Create Observable with double |
boolObservable | Create Observable with Boolean |
customTypeObservable | Create Observable with user define type |
voidAction | Create action with void return type |
stringAction | Create action with String return type |
intAction | Create action with Integer return type |
doubleAction | Create action with Double return type |
boolAction | Create action with Boolean return type |
customTypeAction | Create Observable with user define |
futureVoidAction | Create Future action with Void return type |
futureStringAction | Create Future action with String return type |
futureIntAction | Create Future action with Integer return type |
futureDoubleAction | Create Future action with Double return type |
futureBooleanAction | Create Future action with Boolean return type |
futureCustomTypeAction | Create Future action with user define return type |
storeObservableList | Create Observable list with preferred data type |
storeObservableSet | Create Observable set with preferred data type |
storeObservableMap | Create Observable map with preferred datatype |
storeObservableFuture | Create Observable future with preferred data type |
storeObservableStream | Create Observable stream with preferred data type |