flutter passing multiple data with getx

Jewel Rana picture Jewel Rana · Nov 19, 2020 · Viewed 25.3k times · Source

I want to Pass multiple data from one screen to another screen with Get package.

Answer

Jewel Rana picture Jewel Rana · Dec 22, 2020

Step: 1 : Sending data

Get.to(Second(), arguments: ["First data", "Second data"]);

Step: 2 : Get data From first screen

var data = Get.arguments;