- Add BuildContext to service property on WProvider
- Remove service locator
- Add inherited widget wrapper (WProvider, WMultiProvider)
- Remove onGenerateMaterialRoute and onGenerateCupertinoRoute
- Add onGenerateRoute
- Change WPage property
- Remove value notifier extensions
- Use uuid for default scope name
- Change WServiceBuilder API
- Add value notifer extension
// Now you can listen to `ValueNotifer` using extension
return counterC.counter.builder(
(context, value) => Text(value.toString()),
);
// Listen to multiple `ValueNotifer`
return [
counterC.counter,
counterC.counter2,
counterC.counter3,
].builder((context) {
value = counterC.counter.value;
value2 = counterC.counter2.value;
value3 = counterC.counter3.value;
return Column(children: [
Text(value.toString()),
Text(value2.toString()),
Text(value3.toString()),
]);
});
- Remove
addLazySingleton
- Set
preventDuplicate
default value to true
- Add
preventDuplicate
property to addSingleton
and addLazySingleton
- Add more value notifier list extension method
- WDisposable initialize now called after first frame was rendered
- WPage serviceBuilder now have arguments parameter
- Change API name
- Add WNestedNavigator
- Add nested key to WRouter
- Fix popUntilAndPushNamed
- Add WPage
- Add popAllAndPushNamed method to WRouter
- Add onGenerateMaterialRoute method to WRouter
- Add onGenerateCupertinoRoute method to WRouter
- Add initalize method to WDisposable