A widget that allows you to propagate a scope through the widget tree. Useful when you need to access the same scope on different routes(Pages).
Writing a module
First define a module with a scope.
Writing a page
As this page has a scope it is possible to access it directly through the "currentScope". When navigating to the second page you will be using ScopeProvider to allow the SecondPage to access the scope of the FirstPage.
The second page
As the second page will access a scope provided by ScopeProvider, the way to access it is a little different. You will need to access the scope by context, using 'context.scope' instead of 'currentScope'.