mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
SemanticsAction / SemanticsFlag cleanup part 5 (flutter/engine#41126)
`SemanticsAction` / `SemanticsFlag` cleanup part 5
This commit is contained in:
parent
0cfb17c6fb
commit
d87ae44e99
@ -235,16 +235,6 @@ class SemanticsAction {
|
||||
|
||||
static SemanticsAction? fromIndex(int index) => _kActionById[index];
|
||||
|
||||
/// Temporary API until [values] return a list.
|
||||
/// https://github.com/flutter/flutter/issues/123346
|
||||
@Deprecated('This getter is temporary and will be removed shortly.')
|
||||
static List<SemanticsAction> get doNotUseWillBeDeletedWithoutWarningValuesAsList => values;
|
||||
|
||||
/// Temporary API until [values] return a list.
|
||||
/// https://github.com/flutter/flutter/issues/123346
|
||||
@Deprecated('This getter is temporary and will be removed shortly.')
|
||||
static Iterable<int> get doNotUseWillBeDeletedWithoutWarningKeys => _kActionById.keys;
|
||||
|
||||
@override
|
||||
String toString() => 'SemanticsAction.$name';
|
||||
}
|
||||
@ -573,16 +563,6 @@ class SemanticsFlag {
|
||||
|
||||
static SemanticsFlag? fromIndex(int index) => _kFlagById[index];
|
||||
|
||||
/// Temporary API until [values] return a list.
|
||||
/// https://github.com/flutter/flutter/issues/123346
|
||||
@Deprecated('This getter is temporary and will be removed shortly.')
|
||||
static List<SemanticsFlag> get doNotUseWillBeDeletedWithoutWarningValuesAsList => values;
|
||||
|
||||
/// Temporary API until [values] return a list.
|
||||
/// https://github.com/flutter/flutter/issues/123346
|
||||
@Deprecated('This getter is temporary and will be removed shortly.')
|
||||
static Iterable<int> get doNotUseWillBeDeletedWithoutWarningKeys => _kFlagById.keys;
|
||||
|
||||
@override
|
||||
String toString() => 'SemanticsFlag.$name';
|
||||
}
|
||||
|
||||
@ -85,16 +85,6 @@ class SemanticsAction {
|
||||
|
||||
static SemanticsAction? fromIndex(int index) => _kActionById[index];
|
||||
|
||||
/// Temporary API until [values] return a list.
|
||||
/// https://github.com/flutter/flutter/issues/123346
|
||||
@Deprecated('This getter is temporary and will be removed shortly.')
|
||||
static List<SemanticsAction> get doNotUseWillBeDeletedWithoutWarningValuesAsList => values;
|
||||
|
||||
/// Temporary API until [values] return a list.
|
||||
/// https://github.com/flutter/flutter/issues/123346
|
||||
@Deprecated('This getter is temporary and will be removed shortly.')
|
||||
static Iterable<int> get doNotUseWillBeDeletedWithoutWarningKeys => _kActionById.keys;
|
||||
|
||||
@override
|
||||
String toString() => 'SemanticsAction.$name';
|
||||
}
|
||||
@ -192,16 +182,6 @@ class SemanticsFlag {
|
||||
|
||||
static SemanticsFlag? fromIndex(int index) => _kFlagById[index];
|
||||
|
||||
/// Temporary API until [values] return a list.
|
||||
/// https://github.com/flutter/flutter/issues/123346
|
||||
@Deprecated('This getter is temporary and will be removed shortly.')
|
||||
static List<SemanticsFlag> get doNotUseWillBeDeletedWithoutWarningValuesAsList => values;
|
||||
|
||||
/// Temporary API until [values] return a list.
|
||||
/// https://github.com/flutter/flutter/issues/123346
|
||||
@Deprecated('This getter is temporary and will be removed shortly.')
|
||||
static Iterable<int> get doNotUseWillBeDeletedWithoutWarningKeys => _kFlagById.keys;
|
||||
|
||||
@override
|
||||
String toString() => 'SemanticsFlag.$name';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user