• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: Flutter – Pass data to multiple stateful pages

Resolved: Flutter – Pass data to multiple stateful pages

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

How do I pass a data from one page to multiple pages while only navigate to one of them?
This is how I write to navigate to next page

Answer:

Try this follow:
create file static_variable.dart
save userId or user data to StaticVariable
Then, you can call StaticVariable in any file

If you have better answer, please add a comment about this, thank you!

android flutter ios visual-studio-code
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: Is pandas groupby() function always produce a DataFrame with the same order respect to the column we group by?

24/03/2023

Resolved: Kivy widget hierarchy not behaving as expected

24/03/2023

Resolved: Pandas Groupby Get Values from Previous Group

24/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.