-
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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
lib | ||
test | ||
test_private | ||
LICENSE | ||
README.md | ||
analysis_options.yaml | ||
build.yaml | ||
pubspec.yaml |