Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter get argument values data

// Step: 1 : Sending data
Get.to(Second(), arguments: ["First data", "Second data"]);

// Step: 2 : Get data From first screen
var data = Get.arguments;

// Step 3 : Go back with result from seconde screen
Get.back(result: [{"backValue": "one"}]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flutter #argument #values #data
ADD COMMENT
Topic
Name
9+3 =