mvvm_flutter 0.3.2 copy "mvvm_flutter: ^0.3.2" to clipboard
mvvm_flutter: ^0.3.2 copied to clipboard

The goal behind is to move as much of the state and logic from the View into a separate entity called the BaseViewModel.

[0.3.2] - Added sizeconfig class in base class for building dynamic screens #

pub package join chat

The well-ordered and perhaps the most reusable way to organize your code is to use the 'MVVM' pattern. The Model, View, ViewModel (MVVM pattern) is all about how to organize and structure your code to write maintainable, testable and extensible applications.

Model − It simply holds the data and has nothing to do with any of the business logic.

ViewModel − It acts as the link/connection between the Model and View and makes stuff look pretty.

View − It simply holds the formatted data and essentially delegates everything to the Model.

see some example class for clear picture

4
likes
40
pub points
0%
popularity

Publisher

unverified uploader

The goal behind is to move as much of the state and logic from the View into a separate entity called the BaseViewModel.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, meta, provider

More

Packages that depend on mvvm_flutter