• Greg Spencer's avatar
    Remove `nullOk` in `MediaQuery.of` (#68736) · 55289324
    Greg Spencer authored
    Adds MediaQuery.maybeOf to replace calling MediaQuery.of(context, nullOk: true), and removes the nullOk parameter. Also changes MediaQuery.of to return a non-nullable value, and removes many instances of the ! operator, reducing the possible places where a null dereference could occur.
    55289324
Name
Last commit
Last update
..
flutter_view Loading commit data...
hello_world Loading commit data...
image_list Loading commit data...
layers Loading commit data...
platform_channel Loading commit data...
platform_channel_swift Loading commit data...
platform_view Loading commit data...
splash Loading commit data...
README.md Loading commit data...
flutter_gallery.readme Loading commit data...