cleanup now-irrelevant ignores for deprecated_member_use (#143403)

Follow-up to https://github.com/flutter/flutter/pull/143347.
This commit is contained in:
Michael Goderbauer
2024-02-14 13:08:25 -08:00
committed by GitHub
parent f190d6259f
commit 3f09b23338
33 changed files with 17 additions and 241 deletions

View File

@@ -487,7 +487,7 @@ class _AnimationDemoHomeState extends State<AnimationDemoHome> {
if (notification.depth == 0 && notification is ScrollUpdateNotification) {
selectedIndex.value = leader.page;
if (follower.page != leader.page) {
follower.position.jumpToWithoutSettling(leader.position.pixels); // ignore: deprecated_member_use
follower.position.jumpToWithoutSettling(leader.position.pixels);
}
}
return false;

View File

@@ -100,7 +100,6 @@ class _OptionsItem extends StatelessWidget {
@override
Widget build(BuildContext context) {
// ignore: deprecated_member_use, https://github.com/flutter/flutter/issues/128825
final double textScaleFactor = MediaQuery.textScalerOf(context).textScaleFactor;
return MergeSemantics(