An open API service indexing awesome lists of open source software.

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.

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
- Callbacks

A 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
![Screenshot](screenshots/1.png)
![Screenshot](screenshots/2.png)
![Screenshot](screenshots/3.png)
![Screenshot](screenshots/4.png)
![Screenshot](screenshots/5.png)
![Screenshot](screenshots/6.png)
![Screenshot](screenshots/7.png)
![Screenshot](screenshots/8.png)
![Screenshot](screenshots/9.png)
r