SemanticsAction / SemanticsFlag cleanup part 5 (flutter/engine#41126)

`SemanticsAction` / `SemanticsFlag` cleanup part 5
This commit is contained in:
Bernardo Ferrari 2023-04-12 17:10:05 -03:00 committed by GitHub
parent 0cfb17c6fb
commit d87ae44e99
2 changed files with 0 additions and 40 deletions

View File

@ -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';
}

View File

@ -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';
}