Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SemanticsAction / SemanticsFlag cleanup part 5 #41126

Merged
merged 1 commit into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 0 additions & 20 deletions lib/ui/semantics.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down Expand Up @@ -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';
}
Expand Down
20 changes: 0 additions & 20 deletions lib/web_ui/lib/semantics.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down Expand Up @@ -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';
}
Expand Down