• 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
..
fix_data Loading commit data...
src Loading commit data...
analysis_options.yaml Loading commit data...
analysis_options_user.yaml Loading commit data...
animation.dart Loading commit data...
cupertino.dart Loading commit data...
foundation.dart Loading commit data...
gestures.dart Loading commit data...
material.dart Loading commit data...
painting.dart Loading commit data...
physics.dart Loading commit data...
rendering.dart Loading commit data...
scheduler.dart Loading commit data...
semantics.dart Loading commit data...
services.dart Loading commit data...
widgets.dart Loading commit data...