Flutter Navigator.of(context).pop vs Navigator.pop(context) difference : <p>What's the difference between <code>Navigator.of(context).pop</code> and <code>Navigator.pop(context)</code>?</p>

<p>To me both seems to do the same work, what is the actual difference. Is one deprecated? </p>
