• 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
..
calendar_date_picker.dart Loading commit data...
calendar_date_range_picker.dart Loading commit data...
date_picker_common.dart Loading commit data...
date_picker_deprecated.dart Loading commit data...
date_picker_dialog.dart Loading commit data...
date_picker_header.dart Loading commit data...
date_range_picker_dialog.dart Loading commit data...
date_utils.dart Loading commit data...
input_date_picker.dart Loading commit data...
input_date_range_picker.dart Loading commit data...
pickers.dart Loading commit data...