Navigator of and Navigator pop differences

Viewed 396

Can anyone tell me if there is a difference between using Navigator.of(context).pop() vs Navigator.pop(context) when closing a modal (using showDialog or Alert from rflutter_alert) as both close the modal?

Thanks for reading!

1 Answers
Related