Flutter

Flutter integration

Host a Presenter in the widget tree with stable identity, current BuildContext, explicit effects, and application-owned business sources.

v0.1.0-dev.1Intermediate

Flutter integration

ark_mvp_flutter connects the framework-independent contracts to Flutter through MvpView, FlutterPresenter, and MvpModelProvider.

yaml
dependencies:
  ark_mvp: ^0.1.0-dev.1
  ark_mvp_flutter: ^0.1.0-dev.1

Declare the core package directly when application code imports ModelBinding, Presenter, or another core type.

Runtime flow

  1. MvpView resolves a direct binding or the nearest exact provider.
  2. It subscribes to every Model change source before the first read.
  3. It reads the initial Model, creates Presenter, subscribes to output, and starts the session.
  4. Every Model signal, Presenter invalidation, or inherited presentation change rebuilds ViewState.
  5. Effects reach onEffect(context, effect) once.
  6. Removing or replacing the feature closes Presenter.

Open the lifecycle and ownership pages for the exact identity, error, and teardown rules.

ARKTELOS

Purpose-built engineering systems for software that has to hold.