From d87ae44e99cc8f753f2d702080fee826ebebd561 Mon Sep 17 00:00:00 2001 From: Bernardo Ferrari Date: Wed, 12 Apr 2023 17:10:05 -0300 Subject: [PATCH] `SemanticsAction` / `SemanticsFlag` cleanup part 5 (flutter/engine#41126) `SemanticsAction` / `SemanticsFlag` cleanup part 5 --- engine/src/flutter/lib/ui/semantics.dart | 20 ------------------- .../src/flutter/lib/web_ui/lib/semantics.dart | 20 ------------------- 2 files changed, 40 deletions(-) diff --git a/engine/src/flutter/lib/ui/semantics.dart b/engine/src/flutter/lib/ui/semantics.dart index 59afaf60589..bab51799b13 100644 --- a/engine/src/flutter/lib/ui/semantics.dart +++ b/engine/src/flutter/lib/ui/semantics.dart @@ -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 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 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 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 get doNotUseWillBeDeletedWithoutWarningKeys => _kFlagById.keys; - @override String toString() => 'SemanticsFlag.$name'; } diff --git a/engine/src/flutter/lib/web_ui/lib/semantics.dart b/engine/src/flutter/lib/web_ui/lib/semantics.dart index 0d0a991982c..01a46bfad28 100644 --- a/engine/src/flutter/lib/web_ui/lib/semantics.dart +++ b/engine/src/flutter/lib/web_ui/lib/semantics.dart @@ -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 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 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 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 get doNotUseWillBeDeletedWithoutWarningKeys => _kFlagById.keys; - @override String toString() => 'SemanticsFlag.$name'; }