Skip to content

Commit

Permalink
SemanticsAction / SemanticsFlag cleanup part 5 (#41126)
Browse files Browse the repository at this point in the history
`SemanticsAction` / `SemanticsFlag` cleanup part 5
  • Loading branch information
bernaferrari committed Apr 12, 2023
1 parent 5c65118 commit 4485dd4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 40 deletions.
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

0 comments on commit 4485dd4

Please sign in to comment.