Created
June 15, 2020 19:00
-
-
Save ookami-kb/c6c54d382c22738adb8b7f7ff2ba71e4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@override | |
Widget build(BuildContext context) => MultiProvider( | |
providers: [ | |
Provider<RestClient>.value(value: _restClient), | |
Provider<MessagesRepository>.value(value: _messagesRepository), | |
Provider<ThreadDataLayer>.value( | |
value: ApiThreadDataLayer( | |
_restClient, | |
() => _imageUrlProvider.baseImageUrl().first, | |
), | |
), | |
], | |
child: … | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment