• Greg Spencer's avatar
    Update `MediaQuery` documentation to highlight asynchronous nature of size (#135719) · a5e3e785
    Greg Spencer authored
    ## Description
    
    This updates the documentation for `MediaQuery` and `Overlay` to include the following:
    
    - That `MediaQueryData.size` is set asynchronously, and doesn't necessarily reflect the size of the current frame.
    - That the specific `MediaQuery.sizeOf` and related methods are preferred over the more generic `MediaQuery.of`.
    - That the size of the `Overlay` isn't necessarily the size returned by `MediaQueryData.size`
    
    As well as adding some symbol links, and fixing some error in documentation.
    
    ## Tests
     - Documentation only
    a5e3e785
Name
Last commit
Last update
.github Loading commit data...
.vscode Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.ci.yaml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
TESTOWNERS Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...