You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This removes the complex initialization
logic of the DataViewModel<T>. Instead of using the initializeData method, now the constructor of the view model
requires some form of initial data. This requires developers to
explicitely define nullable types and allows the data field to be
initialized in all cases. To migrate, remove all initializeData calls
and provide the constructor with some default data. It is still possible
to load data asynchronously, by overwriting the initialize method and
fetching data there. One is responsible to call super.initialize in
error cases.
This simplifies the routable and dialog config by
removing the RouteBuilder.custom variant. Basically, to use a custom
page route builder, just use the provided property (pageRouteBuilder)
and do not set the routeBuilder property. If the page route builder is
provided,
the route builder property is ignored.