Home > Back-end >  Passing Data between Two Pages Without Navigating to it
Passing Data between Two Pages Without Navigating to it

Time:12-25

I'm trying to pass data to a new flutter page, except I do not want to navigate to the view where the information is being sent when I click the blue button. I'm using this code below, but on the web, it is weird to have an android-like transition.

 Navigator.push(
   context, 
   MaterialPageRoute(
   builder: (context) => ViewUserOutput(loadData: true)
   )
);

enter image description here

I want to send the data directly to the yellow portion without having it display fullscreen like this:

enter image description here

Thanks

CodePudding user response:

The best practice is to use the enter image description here

  • Related