• 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
..
custom_render_box.dart Loading commit data...
gestures.dart Loading commit data...
hello_world.dart Loading commit data...
media_query.dart Loading commit data...
sectors.dart Loading commit data...
spinning_mixed.dart Loading commit data...
spinning_square.dart Loading commit data...
styled_text.dart Loading commit data...