• Tim Maffett's avatar
    fix typo of 'not' instead of 'now' for `useInheritedMediaQuery` (#139940) · 2b3a16b4
    Tim Maffett authored
    The doc comment for `useInheritedMediaQuery` has a typo of 'not' instead of 'now' and it is confusing at the `@Deprecated()` message clearly states it is *now* ignored.
    (and indeed checking the code you can verify that it *is* indeed ignored)
    
    existing code before PR:
    ```dart
    /// {@template flutter.widgets.widgetsApp.useInheritedMediaQuery}
    /// Deprecated. This setting is not ignored.
    ///                             ^^^
    /// The widget never introduces its own [MediaQuery]; the [View] widget takes
    /// care of that.
    /// {@endtemplate}
    @Deprecated(
      'This setting is now ignored. '
      'WidgetsApp never introduces its own MediaQuery; the View widget takes care of that. '
      'This feature was deprecated after v3.7.0-29.0.pre.'
    )
    final bool useInheritedMediaQuery;
    ```
    
    - [X ] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
    2b3a16b4
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...