observable_widgets 1.0.0 copy "observable_widgets: ^1.0.0" to clipboard
observable_widgets: ^1.0.0 copied to clipboard

A new flutter package project.

[1.0.0] - (17-09-2018) #

Base stateful widget that automatically subscribe itself to the app state change events. Also automatically unsubscribe when the widget is disposed.

Getting Started #

You only have to do 3 things:

  1. Your States have to extend 'BaseState'
  2. This states have to implement the method 'onStateChanged', responsible of update the widget state and call set state if required.
  3. When you update your app state, you have to raise the 'StateChanged' event with the new state.

This project purpose is to learn about the framework and make simpler ways to work with it. Feel free to create pull request and create issues.

Notes #

  • To raise events this library uses event_bus

TODO:

  • Test
  • Doc
0
likes
10
pub points
0%
popularity

Publisher

unverified uploader

A new flutter package project.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

event_bus, flutter

More

Packages that depend on observable_widgets