Horje
flutter pushnamed multiple arguments Code Example
flutter pushnamed multiple arguments
// first page
Navigator.pushNamed(
   context,
   SomePage.routeName,
   arguments: {
      'v1': 'data1',
      'v2': 'data2',
      'v3': 'data3',
   },
)


// Second page
final arg = ModalRoute.of(context)!.settings.arguments as Map;

randomVar1 = arg['v1'];
randomVar2 = arg['v2'];
randomVar3 = arg['v3'];




Whatever

Related
find the greatest of numbers Code Example find the greatest of numbers Code Example
how to be nice Code Example how to be nice Code Example
warning: the requested image Code Example warning: the requested image Code Example
premarket aapl Code Example premarket aapl Code Example
hiren boot iso 15.2 download Code Example hiren boot iso 15.2 download Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7