flutter_mobx_helpers 1.0.1 copy "flutter_mobx_helpers: ^1.0.1" to clipboard
flutter_mobx_helpers: ^1.0.1 copied to clipboard

A set of tools for MobX that helps you with common processes making everything easier.

flutter_mobx_helpers #

A set of tools for MobX.

Install #

edit your pubspec.yaml file

dependencies:
    flutter_mobx_helpers:
copied to clipboard

Tools #

ObservableListener #

Use this widget to have a response that can perform actions on the business rule such as opening another screen or calling a SnackBar/Dialog.

ObserverListener(
    listener: (_) {
        var snack = SnackBar(content: Text('Click ${store.value}'));
        _scaffold.currentState.showSnackBar(snack);
    },
    child: RaisedButton(
        child: Text('Call Snackbar'),
        onPressed: store.setValue,
    ),
)

copied to clipboard

Contributions #

Do you have any idea of ​​a widget or utility to add to this help? Submit a pull request to this package's repository. We look forward to it!

18
likes
40
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.26 - 2025.04.10

A set of tools for MobX that helps you with common processes making everything easier.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter, mobx

More

Packages that depend on flutter_mobx_helpers