Unverified Commit 7424f344 authored by chunhtai's avatar chunhtai Committed by GitHub

Deprecates string for reorderable list in material_localizations (#124711)

deprecates the these strings since they are now moved into widgetslocalizations

migration guide https://github.com/flutter/website/pull/8543/files
parent 2f45458e
......@@ -424,26 +424,50 @@ abstract class MaterialLocalizations {
/// The semantics label used for [ReorderableListView] to reorder an item in the
/// list to the start of the list.
@Deprecated(
'Use the reorderItemToStart from WidgetsLocalizations instead. '
'This feature was deprecated after v3.10.0-2.0.pre.'
)
String get reorderItemToStart;
/// The semantics label used for [ReorderableListView] to reorder an item in the
/// list to the end of the list.
@Deprecated(
'Use the reorderItemToEnd from WidgetsLocalizations instead. '
'This feature was deprecated after v3.10.0-2.0.pre.'
)
String get reorderItemToEnd;
/// The semantics label used for [ReorderableListView] to reorder an item in the
/// list one space up the list.
@Deprecated(
'Use the reorderItemUp from WidgetsLocalizations instead. '
'This feature was deprecated after v3.10.0-2.0.pre.'
)
String get reorderItemUp;
/// The semantics label used for [ReorderableListView] to reorder an item in the
/// list one space down the list.
@Deprecated(
'Use the reorderItemDown from WidgetsLocalizations instead. '
'This feature was deprecated after v3.10.0-2.0.pre.'
)
String get reorderItemDown;
/// The semantics label used for [ReorderableListView] to reorder an item in the
/// list one space left in the list.
@Deprecated(
'Use the reorderItemLeft from WidgetsLocalizations instead. '
'This feature was deprecated after v3.10.0-2.0.pre.'
)
String get reorderItemLeft;
/// The semantics label used for [ReorderableListView] to reorder an item in the
/// list one space right in the list.
@Deprecated(
'Use the reorderItemRight from WidgetsLocalizations instead. '
'This feature was deprecated after v3.10.0-2.0.pre.'
)
String get reorderItemRight;
/// The semantics hint to describe the tap action on an expanded [ExpandIcon].
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment