https://github.com/apgapg/flutter_mvp_app
https://github.com/apgapg/flutter_mvp_app
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/apgapg/flutter_mvp_app
- Owner: apgapg
- Created: 2018-06-27T06:29:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-08T06:17:35.000Z (about 6 years ago)
- Last Synced: 2025-03-29T00:51:15.954Z (about 1 year ago)
- Language: Dart
- Size: 159 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flutter_mvp_app
A sample Flutter application using MVP architecture.
Original blog: https://medium.com/@ayushpguptaapg/implementing-mvp-arch-in-flutter-app-1d67f695eab1
This app fetches a text from network and displays it in a text widget.
The code is three layered:
1. View (widgets,setState(), etc...).
2. Presenter (logic...).
3. Model (data repository like api calls, database etc).
The whole workflow in the app can be understood with this figure:

Finally if everything goes well you will see this result:

## Contribution
Pull requests, suggestions, improvements etc are all welcome.
Read my blogs: https://medium.com/@ayushpguptaapg