make some BuildContext methods generics (#44189)
* make BuildContext.{ancestorStateOfType,ancestorRenderObjectOfType,rootAncestorStateOfType} generic
* make BuildContext.inheritFromWidgetOfExactType generic
* make BuildContext.ancestorInheritedElementForWidgetOfExactType generic
* make BuildContext.ancestorWidgetOfExactType generic
* fix snippet
* bump scoped_model on temp version
* update names
* Revert "bump scoped_model on temp version"
This reverts commit d1fcbba028cdb07f44738d1652391692d1ea5ec0.
* address review comments
* fix ci
* address review comments
* repeat the deprecation notice
* fix uppercase
* use of recommanded deprecation syntax
* address review comment A
Alexandre Ardhuin committed
fcb40a05bbc5b4ba08e5360d074ac8407f4c0463
Parent: 7fcf030
Committed by GitHub <noreply@github.com>
on 11/22/2019, 4:35:20 PM