ABCDEFGHIJKLMNOPQRSTUVWX
1
Publicly Shared
flutter.dev/go/deprecations-removed-after-3-19
2
3
Deprecations to be removed from Flutter after 3.19 Release - see significant migration below.
4
5
Tracking Issue:
https://github.com/flutter/flutter/issues/143956
6
Deprecation Policy:
https://github.com/flutter/flutter/wiki/Tree-hygiene#deprecation
7
Announcement:
https://groups.google.com/g/flutter-announce/c/8XjXpUKlnf8
8
Cutoff:
Changes preceding 1/24/2023 (3.7 stable release)
9
Full Migration Guide:TBA
10
11
Package / LibraryOld APINew APIDeprecated Indart fix supportNotes
12
flutter/cupertinoCupertinoContextMenupreviewBuilderCupertinoContextMenu.builderv3.4Yes
13
flutter/materialTextThemeheadline1displayLargev3.1YesCarried over from last deprecation cycle.
14
TextThemeheadline2displayMediumv3.1Yes
15
TextThemeheadline3displaySmallv3.1Yes
16
TextThemeheadline4headlineMediumv3.1Yes
17
TextThemeheadline5headlineSmallv3.1Yes
18
TextThemeheadline6titleLargev3.1Yes
19
TextThemesubtitle1titleMediumv3.1Yes
20
TextThemesubtitle2titleSmallv3.1Yes
21
TextThemebodyText1bodyLargev3.1Yes
22
TextThemebodyText2bodyMediumv3.1Yes
23
TextThemecaptionbodySmallv3.1Yes
24
TextThemebuttonlabelLargev3.1Yes
25
TextThemeoverlinelabelSmallv3.1Yes
26
ThemeDataerrorColorcolorScheme.errorv3.3Yes
27
ThemeDatabackgroundColorcolorScheme.backgroundv3.3Yes
28
ThemeDatabottomAppBarColorBottomAppBarTheme.colorv3.3Yes
29
ThemeDatatoggleableActiveColorN/A, no longer used by the frameworkv3.4Yes
https://docs.flutter.dev/release/breaking-changes/toggleable-active-color
30
ScrollbarshowTrackOnHoverScrollbarThemeData.trackVisibilityv3.4Yes
31
ScrollbarThemeDatashowTrackOnHoverScrollbarThemeData.trackVisibilityv3.4Yes
32
flutter/widgetsKeepAliveHandlereleasedisposev3.3NoDispose should already be called. If not, replace relase with a call to dispose.
33
InteractiveVieweralignPanAxispanAxisv3.3Yes
34
MediaQueryboldTextOverrideboldTextOfv3.5Yes
35
AnimatedListItemBuilderAnimatedItemBuilderv3.5No
36
AnimatedListRemovedItemBuilderAnimatedRemovedItemBuilderv3.5No
37
flutter_driverFlutterDriverenableAccessibilitysetSemantics(true)v2.3Yes
38
TimelineSummarywriteSummaryToFilewriteTimelineToFilev2.1Yes
39
40
Significant Migration
41
CupertinoTextFieldtoolbarOptionsSee the full context menu migration guide:
https://docs.flutter.dev/release/breaking-changes/context-menus




































v3.3Currently evaluating extension, developers are encouraged to migrate.
42
CupertinoTextFormFieldRowtoolbarOptions
43
CupertinoTextSelectionHandleControlswhole class
44
SelectableTexttoolbarOptions
45
TextFieldtoolbarOptions
46
TextFormFieldtoolbarOptions
47
MaterialTextSelectionHandleControlswhole class
48
ToolbarOptionswhole class
49
EditableTexttoolbarOptions
50
SelectableRegionStatecutEnabled
51
SelectableRegionStatepasteEnabled
52
SelectableRegionStatecopySelection
53
SelectableRegionStatetextEditingValue
54
SelectableRegionStatebringIntoView
55
SelectableRegionStatecutSelection
56
SelectableRegionStateuserUpdateTextEditingValue
57
SelectableRegionStatepasteText
58
EditableTextStatebuttonItemsForToolbarOptions
59
TextSelectionControlsbuildToolbar
60
TextSelectionControlscanCut
61
TextSelectionControlscanCopy
62
TextSelectionControlscanPaste
63
TextSelectionControlscanSelectAll
64
TextSelectionControlshandleCut
65
TextSelectionControlshandleCopy
66
TextSelectionControlshandlePaste
67
TextSelectionControlshandleSelectAll
68
plus subclasses:
69
CupertinoDesktopTextSelectionControlsbuildToolbar
70
CupertinoDesktopTextSelectionControlshandleSelectAll
71
MaterialTextSelectionControlsbuildToolbar
72
MaterialTextSelectionControlscanSelectAll
73
CupertinoTextSelectionControlsbuildToolbar
74
DesktopTextSelectionControlsbuildToolbar
75
DesktopTextSelectionControlscanSelectAll
76
DesktopTextSelectionControlshandleSelectAll
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100