Q: Navigte back with params in flutter using GetX and accessing the results in the previous page I am creating a flutter app which enables a user to select a contact and display the selected contact before navigating back from the list of contact.
 class ContactsList extends StatelessWidget {
      final List<AppContact> contacts;
      Function() reloadContacts;
      ContactsList({Key? key, required this.contacts, required this.reloadContacts})
          : super(key: key);
      @override
      Widget build(BuildContext context) {
        return Expanded(
          child: ListView.builder(
            shrinkWrap: true,
            itemCount: contacts.length,
            itemBuilder: (context, index) {
              AppContact contact = contacts[index];
    
              return ListTile(
                  onTap: () {
                    Get.back(result:contact.info.phones!.elementAt(0).value!);
                  },
                  title: Text(contact.info.displayName!),
                  subtitle: Text(contact.info.phones!.length > 0
                      ? contact.info.phones!.elementAt(0).value!
                      : ''),
                  leading: ContactAvatar(contact, 36));
            },
          ),
        );
      }
    }


A: I'm not sure you want this but, you can just use await keyword with navigate function.
For example;
final data = await Get.to(Payment());

if you want to learn some information about navigation with getx you can visit documentation
