stacked_generator
Stacked Generator is a package dedicated to reduce the boilerplate required to setup a stacked application
2.0.4
14K downloads/mo
#2566 most downloaded on pub.dev
FilledStacks/stacked
What this package is like to depend on
Last release 2 months ago
18 Jun 2026
Release timing varies
gaps range from 2 weeks to 13 months
Nearly every release is documented
notes for 79 of 79 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
99 releases · first in 2021
5 releases in the last 12 months
see the full history below
Release timeline
99 releases · Feb 2021 to Jun 2026Releases
latest 60 of 99-
2.0.418 Jun 2026 -
2.0.322 Apr 2026 -
2.0.207 Apr 2026Release notes
Open source →- Made ViewModel variable naming scheme consistent.
ViewModel viewModelis now preferred.
- Made ViewModel variable naming scheme consistent.
-
2.0.107 Mar 2026 -
2.0.008 Aug 2025Release notes
Open source →Updates all dependencies to latest. No breaking changes to our API, but from upgrade experience, the project will break because of other out dated dependencies.
That's why this was bumped by a major version instead of a minor/patch version.
-
2.0.0-pre.125 Jun 2024 pre-releaseNothing published for this version
-
1.6.202 Mar 2026 -
1.6.109 Jul 2024Release notes
Open source →- Adds
fireOnModelReadyOnceto be used together withdisposeViewModelto ensure a viewmodel that's already been constructed doesn't call onModelReady every time it's shown on screen.
- Adds
-
1.6.1-pre.109 Apr 2024 pre-releaseNothing published for this version
-
1.6.029 Jan 2024 -
1.5.203 Dec 2023 -
1.5.131 Aug 2023Release notes
Open source →- Ensure model is busy as soon as runFuture notifyListeners for the first time
Release notes
Open source →Bug Fixes
1.5.0 (2023-07-31)
Bug Fixes
- generate a custom controller getter per field (548922e)
- update
isFormValidbehavior (92f0ed3) - update form and validation data on sync (d576843)
- validate form on non text field change (c17a431)
Features
- add hasAnyValidationMessage getter (d2cfa40)
1.4.0 (2023-06-26)
Features
-
1.5.031 Jul 2023 -
1.4.026 Jun 2023Release notes
Open source →- Breaking Moved private files into src folder
- Fix imports, import visibility and changed file names.
-
1.3.320 Apr 2023 -
1.3.214 Apr 2023 -
1.3.114 Apr 2023Release notes
Open source →- Added the HookViewModelWidget to use the ViewModelWidget with flutter_hooks
Release notes
Open source →Bug Fixes
1.3.0 (2023-04-14)
Features
- Adds hashCode and eqality operator methosa to ViewArguments to ensure equality of objects (cd5f4a1)
1.2.0 (2023-04-14)
Features
1.1.0 (2023-04-03)
Features
-
1.3.014 Apr 2023 -
1.2.014 Apr 2023Release notes
Open source →- Added FutureViewmodel
- The
FutureViewModelremoves boiler plate code for a ViewModel that depends on data returned from a Future.
-
1.1.003 Apr 2023Release notes
Open source →- Added StreamViewModel
- The
StreamViewModelremoves boiler plate code for listening to a Stream and notifying listeners as the data comes in.
Release notes
Open source →- feat: Adds generator for validateForm to FormViewModel extension
- chore: Moves clearForm from ValueProperties extension to Methods extension
-
1.0.131 Mar 2023Release notes
Open source →- fix: Adds correct parameters when constructing the StackedRouterWeb with
AuthGuards
- fix: Adds correct parameters when constructing the StackedRouterWeb with
-
1.0.010 Mar 2023Release notes
Open source →- First release of the architecture containing all the initial required parts to build a full application.
Release notes
Open source →Features
Adds support for the new RouterService which uses Navigator 2.0 a fork from AutoRouter
5.0.4to generate the generated code.Fixes
Updates
stacked_coretostacked_sharedbecause we lost access tostacked_core😞 -
1.0.0-beta.210 Mar 2023 pre-releaseNothing published for this version
-
1.0.0-beta.110 Mar 2023 pre-releaseNothing published for this version
-
1.0.0-beta.009 Mar 2023 pre-releaseNothing published for this version
-
0.9.407 Mar 2023Release notes
Open source →- Fixes errors not being logged in the stacked logger
- The multi output (if configured in stacked logger) correctly
calls
initanddestroyfor each output now
-
0.9.321 Feb 2023Release notes
Open source →- Adds toString to
ViewArgumentsthat prints out the parameters of the class
- Adds toString to
-
0.9.221 Feb 2023 -
0.9.117 Feb 2023 -
0.9.1+117 Feb 2023 -
0.9.017 Feb 2023Release notes
Open source →New Feature
Two way binding for text fields in Forms. When you want to update the value for a form and have it reflect in the TextField you can now simply set it as using the
fieldValueproperty.Example To set the value of a form field called email, you can now in the viewmodel simply do:
emailValue = '';In addition we also have a clearForm function that will clear all the form Text Fields.
-
0.8.501 Feb 2023Release notes
Open source →- Changes builder name from dialog to dialogs
- Removes
Sheetword at end of enum value on BottomSheets - Removes
Dialogword at end of enum value on Dialogs - Adds Stacked template identifiers
- Changes Map type for builders, more precised
-
0.8.304 Jan 2023 -
0.8.121 Nov 2022 -
0.8.1-beta.314 Nov 2022 pre-release -
0.8.1-beta.119 Oct 2022 pre-releaseRelease notes
Open source →- Changes back signature of
_updateValidationDatafromdynamic model->FormViewModel model
- Changes back signature of
-
0.8.1-beta.019 Oct 2022 pre-releaseRelease notes
Open source →- Changes back signature of
_updateFormDatafromdynamic model->FormViewModel model
- Changes back signature of
-
0.8.006 Sep 2022Release notes
Open source →- Pass generic argument to type safe route extension
- Returns result for typesafe route extension using generic type
- Adds
FormStateHelpertoFormViewModelto remove breaking change - Adds value properties form generated mixing on
FormViewModel - Replace
FormViewModeltoFormStateHelper - Fix
transtionBuildersimport - Support providing enums as route arguments
- Support providing functions as route arguments
- Apply a more general fix to the aliased imports in stacked generator
- Replace
FormViewModeltoFormStateHelper
-
0.8.0+123 Sep 2022 -
0.8.0-beta.705 Sep 2022 pre-releaseNothing published for this version
-
0.8.0-beta.623 Aug 2022 pre-releaseNothing published for this version
-
0.8.0-beta.518 Aug 2022 pre-releaseNothing published for this version
-
0.8.0-beta.418 Aug 2022 pre-releaseNothing published for this version
-
0.8.0-beta.317 Aug 2022 pre-releaseNothing published for this version
-
0.8.0-beta.216 Aug 2022 pre-releaseNothing published for this version
-
0.8.0-beta.128 Jul 2022 pre-release -
0.8.0-beta.026 Jul 2022 pre-release -
0.7.16-beta.023 Aug 2022 pre-releaseNothing published for this version
-
0.7.1504 Aug 2022 -
0.7.1404 Aug 2022 -
0.7.1308 Jul 2022 -
0.7.1206 Jul 2022 -
0.7.1001 Jul 2022Release notes
Open source →- Fixes issue with imports for deeply nested views
- Removes duplicate strongly typed methods
-
0.7.917 Jun 2022 -
0.7.9+121 Jun 2022 -
0.7.816 Jun 2022 -
0.7.613 Jun 2022 -
0.7.509 Jun 2022 -
0.7.307 Jun 2022 -
0.7.207 Jun 2022