Deprecate MediaQuery[Data].fromWindow (#119647)

* Deprecate MediaQuery[Data].fromWindow

* ++

* dart fix
This commit is contained in:
Michael Goderbauer
2023-02-01 14:44:00 -08:00
committed by GitHub
parent 8fd5d4ebb1
commit 7a926dcb03
29 changed files with 101 additions and 76 deletions

View File

@@ -23,7 +23,18 @@
# * ListWheelScrollView: fix_list_wheel_scroll_view.yaml
version: 1
transforms:
# Changes made in https://github.com/flutter/flutter/pull/119186 and https://github.com/flutter/flutter/pull/81067.
# Changes made in https://github.com/flutter/flutter/pull/119647
- title: "Migrate to 'fromView'"
date: 2022-10-28
element:
uris: [ 'widgets.dart', 'material.dart', 'cupertino.dart' ]
constructor: 'fromWindow'
inClass: 'MediaQueryData'
changes:
- kind: 'rename'
newName: 'fromView'
# Changes made in https://github.com/flutter/flutter/pull/119186 and https://github.com/flutter/flutter/pull/81067
- title: "Remove 'vsync'"
date: 2023-01-30
element: