Packages

ark_mvp_flutter

Flutter hosting for Ark MVP with direct or context binding, current BuildContext adaptation, one-time effects, and explicit ownership.

v1.2.1Intermediateark_mvp_flutter
ark_mvp_flutter1.2.1
shell
flutter pub add ark_mvp_flutter:^1.2.1

Add ark_mvp directly as well when application code imports core types.

Public surface

  • FlutterPresenter supplies current BuildContext to ViewState adaptation;
  • MvpView resolves ModelBinding, owns Presenter, observes changes, rebuilds ViewState, and delivers effects;
  • MvpModelProvider and BuildContext extensions offer exact-type context lookup;
  • typed callbacks and exceptions expose effects, errors, and missing bindings without silent fallback.

The package owns Presenter only. UseCases, managers, repositories, bindings, text controllers, focus nodes, and animations remain with their actual application or widget owners.