forge_mvvm 0.2.0 copy "forge_mvvm: ^0.2.0" to clipboard
forge_mvvm: ^0.2.0 copied to clipboard

A Flutter framework that enforces MVVM architecture and Clean Code principles. Includes base classes, DI via get_it, navigation helpers, pagination/forms, and a CLI scaffolding tool.

0.2.0 #

  • Added ForgeNavigator — ViewModel-driven navigation via NavigationEvent streams.
  • Added ForgePaginatedViewModel — page-based pagination with loadPage() override.
  • Added ForgeFormViewModel — per-field form validation with validateAll().
  • Added ForgeStateWidget — eliminates loading/error boilerplate in views.
  • Expanded ForgeException hierarchy: ForgeNetworkException, ForgeServerException, ForgeCacheException, ForgeValidationException.
  • Improved ForgeApp.setUp() with debug-mode bootstrap summary.

0.1.0 #

  • Initial release.
  • Core MVVM base classes: ForgeView, ForgeViewModel.
  • Clean Architecture layers: ForgeRepository, ForgeService, ForgeUseCase.
  • Dependency injection via ForgeLocator (get_it wrapper).
  • ForgeApp bootstrap with layer-order enforcement.
  • ForgeCommand pattern for async actions.
  • ForgeResult type-safe success/failure wrapper.
  • Built-in test utilities: ForgeTestHarness, ForgeMockRepository.
  • Example app demonstrating a full Login feature.
1
likes
140
points
117
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter framework that enforces MVVM architecture and Clean Code principles. Includes base classes, DI via get_it, navigation helpers, pagination/forms, and a CLI scaffolding tool.

Repository (GitHub)
View/report issues
Contributing

Topics

#mvvm #architecture #clean-architecture #state-management

License

MIT (license)

Dependencies

args, equatable, flutter, get_it, go_router, meta, provider

More

Packages that depend on forge_mvvm