/am_state-code-snippets

BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

GitHub contributors GitHub issues GitHub forks GitHub stars GitHub license

am_state

A state-management and data providing library. (Fast - Safe - Easy)

It has an easy technique to implement (Model, View, Controller) for flutter Pages

This lib gives (AmDataProvider<T>) as data provider and (AmRefreshWidget<T>) as wrapper to the widgets that must be changed when provider data changed.

Getting Started:

https://pub.dev/packages/am_state

Code Snippets:

Shortcut Description
ammodel Creates a Model
amcontroller Creates a view Controller
amviewwidget Creates a view widget
amchannel Get the channel of a specific route
amfunctiontrigger Creates a function trigger that invokes the function giving the new data in the provider

Enjoy!