fluorflow 3.1.0
fluorflow: ^3.1.0 copied to clipboard
An MVVM framework for Flutter to build scalable and maintainable applications.
3.1.0 - 2024-05-13 #
3.0.0 - 2024-05-07 #
Features #
BREAKING CHANGES #
- The
DialogServicewas deleted. Dialog related methods are now in theNavigationService. - The
BottomSheetServicewas deleted. All related methods are now in theNavigationService. - the close methods for dialog and
sheet (
closeDialogandcloseSheet) are removed. They are unified in the methodcloseOverlayin theNavigationService. - Since getX is removed, the base logic of the entry point in the app could be simplified. Instead of the key and observer being methods, they are now static initialized fields on the navigation service.
BRAKING CHANGE: The preventDuplicates parameter for the
navigation method is gone. Currently, with native
navigation, the user of the package is responsible to
have an overview of the navigation stack.
2.0.0 - 2024-03-18 #
Features #
BREAKING CHANGES #
- This removes the complex initialization
logic of the
DataViewModel<T>. Instead of using theinitializeDatamethod, now the constructor of the view model requires some form of initial data. This requires developers to explicitely define nullable types and allows thedatafield to be initialized in all cases. To migrate, remove allinitializeDatacalls and provide the constructor with some default data. It is still possible to load data asynchronously, by overwriting theinitializemethod and fetching data there. One is responsible to callsuper.initializein error cases. - This simplifies the routable and dialog config by
removing the
RouteBuilder.customvariant. Basically, to use a custom page route builder, just use the provided property (pageRouteBuilder) and do not set therouteBuilderproperty. If the page route builder is provided, the route builder property is ignored.