Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review relation between providers and RouteDelegate #1

Closed
PavelPZ opened this issue Jan 22, 2022 · 3 comments
Closed

Review relation between providers and RouteDelegate #1

PavelPZ opened this issue Jan 22, 2022 · 3 comments
Labels
Example help wanted Extra attention is needed

Comments

@PavelPZ
Copy link
Owner

PavelPZ commented Jan 22, 2022

Review relation between [RiverpodNavigator] <=> [TypedPathNotifier]<=> [RiverpodRouterDelegate] <=> [ExampleApp]

see appFlutter.dart

...
  final navigator = ref.read(exampleRiverpodNavigatorProvider); 
  final delegate = RiverpodRouterDelegate(navigator, pageBuilder: _pageBuilder, initPath: [HomeSegment()]); 
  ref.listen(typedPathNotifierProvider, (_, __) => delegate.notifyListeners()); 
...
@PavelPZ PavelPZ added help wanted Extra attention is needed Example labels Jan 22, 2022
@PavelPZ PavelPZ changed the title Correct first three lines in Widget exampleApp(WidgetRef ref) Check first three lines in Widget exampleApp(WidgetRef ref) Jan 22, 2022
@PavelPZ PavelPZ changed the title Check first three lines in Widget exampleApp(WidgetRef ref) Review relation between providers and RouteDelegate Jan 23, 2022
@PavelPZ
Copy link
Owner Author

PavelPZ commented Jan 23, 2022

could help:

 final navigator = ref.read(exampleRiverpodNavigatorProvider); 

@PavelPZ PavelPZ closed this as completed Jan 23, 2022
@PavelPZ PavelPZ reopened this Jan 25, 2022
@PavelPZ
Copy link
Owner Author

PavelPZ commented Jan 25, 2022

waiting for rrousselGit/riverpod#1113

@PavelPZ
Copy link
Owner Author

PavelPZ commented Feb 6, 2022

solved

@PavelPZ PavelPZ closed this as completed Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Example help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant