Skip to content
Efra Espada edited this page Jul 3, 2024 · 4 revisions

Pub Version Build Status Coverage Status

go_mvp

A package designed to streamline the preparation of each screen in a project using the MVP (Model-View-Presenter) architecture.

Features

  • MVP Architecture: Easy screen creation with mvp architecture.
  • Easy navigation: Navigation via go_router. Easily manage the data sent to the screen as well as the returns on screen closure..
  • Android-like Lifecycle Events: Implements lifecycle methods (onCreate, onResume, etc.) similar to Android, making it easier for developers transitioning from Android development to Flutter.
  • Easy to Use: Designed to be straightforward and developer-friendly, reducing the boilerplate code required for setting up screens and navigation.
  • Command-line tool: Quickly create new screens without worrying about the architecture.

- Requirements

- Project Configuration

- Create new screens

- Implementations

- Usage from the ViewModel

- Usage from the Presenter

- Usage from the View