SIGN IN SIGN UP

Remove the `nullOk` parameter from `Navigator.of` and add `Navigator.maybeOf` (#70726)

Adds Navigator.maybeOf to replace calling Navigator.of(context, nullOk: true), and removes the nullOk parameter. Also changes Navigator.of to return a non-nullable value, and removes many (120!) instances of the ! operator, reducing the possible places where a null dereference could occur.
G
Greg Spencer committed
de884f1afe1daa12def5ecaa08ab03e6af406d39
Parent: 05dadb0
Committed by GitHub <noreply@github.com> on 11/20/2020, 5:10:46 PM