ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
Publicly Shared
flutter.dev/go/deprecations-removed-after-1-22
2
3
Deprecations removed from Flutter after 1.22 Release
4
5
Deprecation Policy:
https://github.com/flutter/flutter/wiki/Tree-hygiene#deprecation
6
More Info:
https://flutter.dev/go/deprecation-lifetime
7
https://medium.com/flutter/deprecation-lifetime-in-flutter-e4d76ee738ad
8
9
Evaluation PR:
https://github.com/flutter/flutter/pull/67789
10
Library/PackageDeprecatedAPIFixPRNotesdart fix support
11
Cupertinov0.2.3CupertinoDialogUse CupertinoAlertDialog or CupertinoPopupSurfacehttps://github.com/flutter/flutter/pull/73604Landed, dart fix testing not supportedY - only in IDE
12
v1.1.2CupertinoNavigationBar.actionsForegroundColorUse CupertinoTheme.primaryColorhttps://github.com/flutter/flutter/pull/73745Landed, dart fix not supportedN
13
v1.1.2CupertinoSliverNavigationBar.actionsForegroundColorUse CupertinoTheme.primaryColor
14
v1.10.14CupertinoTextThemeData.brightnessDoes nothing, no replacement.https://github.com/flutter/flutter/pull/72017LandedY
15
Gesturesv1.4.3PointerEnterEvent.fromHoverEventUse PointerEnterEvent.fromMouseEventhttps://github.com/flutter/flutter/pull/72395LandedY
16
v1.4.3PointerExitEvent.fromHoverEventUse PointerExitEvent.fromMouseEvent
17
Materialv0.2.3showDialog(child)Instead of 'child', use 'builder'https://github.com/flutter/flutter/pull/72532/LandedY
18
v1.1.9Scaffold.resizeToAvoidBottomPaddingUse Scaffold.resizeToAvoidBottomInsethttps://github.com/flutter/flutter/pull/72890LandedY
19
v1.9.1ButtonTheme.barUse ButtonBarThemehttps://github.com/flutter/flutter/pull/73746Landed, dart fix not supportedN
20
Paintingv1.7.3InlineSpan.textUse TextSpan.texthttps://github.com/flutter/flutter/pull/73747Landed, dart fix not supportedN
21
v1.7.3InlineSpan.childrenUseTextSpan.children
22
v1.7.3InlineSpan.visitTextSpanUse InlineSpan.visitChildren
23
v1.7.3InlineSpan.recognizerUse TextSpan.recognizer
24
v1.7.3InlineSpan.describeSemanticsUse InlineSpan.computeSemanticsInformation
25
v1.7.3PlaceholderSpan.visitTextSpanUse PlaceHolderSpan.visitChildren
26
v1.7.3TextSpan.visitTextSpanUse TextSpan.visitChildren
27
Renderingv1.10.0RenderView.scheduleInitialFrameCall RenderView.prepareInitialFrame() followed by RenderView.owner!.requestVisualUpdate()https://github.com/flutter/flutter/pull/73748Landed, dart fix not supportedN
28
v1.10.14Layer.findAllUse Layer.findAllAnnotations(...).annotationshttps://github.com/flutter/flutter/pull/73749Landed, dart fix not supportedN
29
Servicesv1.6.5BinaryMessenger get defaultBinaryMessengerUse ServicesBinding.instance.defaultBinaryMessengerhttps://github.com/flutter/flutter/pull/73750Landed, dart fix not supportedN
30
v1.6.5BinaryMessagesUse BinaryMessenger & defaultBinaryMessenger
31
v1.6.5static BinaryMessages.handlePlatformMessageUse defaultBinaryMessenger.handlePlatformMessage
32
v1.6.5static BinaryMessages.sendUse defaultBinaryMessenger.send
33
v1.6.5static BinaryMessages.setMessageHandlerUse defaultBinaryMessenger.setMessageHandler
34
v1.6.5static BinaryMessages.setMockMessageHandlerUse defaultBinaryMessenger.setMockMessageHandler
35
Widgetsv1.12.1TypeMatcherNot in use, no replacement.https://github.com/flutter/flutter/pull/73751In progress, dart fix not supportedN
36
v1.12.1BuildContext.inheritFromElementUse dependOnInheritedElementhttps://github.com/flutter/flutter/pull/69620LandedY
37
v1.12.1BuildContext.inheritFromWidgetOfExactTypeUse dependonInheritedWidgetOfExactType
38
v1.12.1BuildContext.ancestorInheritedElementForWidgetOfExactTypeUse getElementForInheritedWidgetOfExactType
39
v1.12.1BuildContext.ancestorWidgetOfExactTypeUse findAncestorWidgetOfExactType
40
v1.12.1BuildContext.ancestorStateOfTypeUse findAncestorStateOfType
41
v1.12.1BuildContext.rootAncestorStateOfTypeUse findRootAncestorStateOfType
42
v1.12.1BuildContext.ancestorRenderObjectOfTypeUse findAncestorRenderObjectOfType
43
v1.12.1Element.inheritFromElementUse dependOnInheritedElementhttps://github.com/flutter/flutter/pull/72903LandedY
44
v1.12.1Element.inheritFromWidgetOfExactTypeUse dependOnInheritedWidgetOfExactType
45
v1.12.1Element.ancestorInheritedElementForWidgetOfExactTypeUse getElementForInheritedWidgetOfExactType
46
v1.12.1Element.ancestorWidgetOfExactTypeUse findAncestorWidgetOfExactType
47
v1.12.1Element.ancestorStateOfTypeUse findAncestorStateOfType
48
v1.12.1Element.rootAncestorStateOfTypeUse findRootAncestorStateOfType
49
v1.12.1Element.ancestorRenderObjectOfTypeUse findAncestorRenderObjectOfType
50
v1.12.1StatefulElement.inheritFromElementUse dependOnInheritedElementhttps://github.com/flutter/flutter/pull/72901LandedY
51
v1.12.4WidgetsBinding.deferFirstFrameReportUse deferFirstFramehttps://github.com/flutter/flutter/pull/72893LandedY
52
v1.12.4WidgetsBinding.allowFirstFrameReportUse allowFirstFrame
53
flutter_driverv1.9.3WaitUntilNoTransientCallbacksUse WaitForCondition command with NoTransientCallbackshttps://github.com/flutter/flutter/pull/73754Landed, dart fix not supportedN
54
v1.9.3WaitUntilNoPendingFrameUse WaitForCondition command with NoPendingFrame
55
v1.9.3WaitUntilFirstFrameRasterizedUse WaitForCondition command with FirstFrameRasterized
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100