mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
55289324c6
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. |
||
---|---|---|
.. | ||
custom_render_box.dart | ||
gestures.dart | ||
hello_world.dart | ||
media_query.dart | ||
sectors.dart | ||
spinning_mixed.dart | ||
spinning_square.dart | ||
styled_text.dart |