https://github.com/frideosapps/data_examples
An example app showing different ways to pass to and share data with widgets and pages.
https://github.com/frideosapps/data_examples
bloc flutter flutter-apps flutter-demo flutter-examples inheritedwidget mobile mobile-app mobile-development singleton streams
Last synced: 2 months ago
JSON representation
An example app showing different ways to pass to and share data with widgets and pages.
- Host: GitHub
- URL: https://github.com/frideosapps/data_examples
- Owner: frideosapps
- License: mit
- Created: 2019-02-17T21:40:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-17T19:34:09.000Z (about 5 years ago)
- Last Synced: 2025-04-05T09:34:01.350Z (3 months ago)
- Topics: bloc, flutter, flutter-apps, flutter-demo, flutter-examples, inheritedwidget, mobile, mobile-app, mobile-development, singleton, streams
- Language: Dart
- Homepage: https://medium.com/flutter-community/simple-ways-to-pass-to-and-share-data-with-widgets-pages-f8988534bd5b
- Size: 317 KB
- Stars: 59
- Watchers: 3
- Forks: 21
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pass and share data example
An example app showing different ways to pass to and share data with widgets and pages.
- Passing data through constructor
- Getting data from Navigator.pop
- InheritedWidget
- InheritedWidget and streams
- InheritedWidget generic provider
- Singleton
- Global singleton BLoC
- CallbacksA detailed explanation on this article on Medium:
https://medium.com/flutter-community/simple-ways-to-pass-to-and-share-data-with-widgets-pages-f8988534bd5b### Packages used:
- [Intl](https://pub.dartlang.org/packages/intl)
- [Frideos-flutter](https://pub.dartlang.org/packages/frideos)## Screenshots









r