File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
packages/flutter/lib/src/widgets Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -258,23 +258,6 @@ class GlobalObjectKey<T extends State<StatefulWidget>> extends GlobalKey<T> {
258
258
}
259
259
}
260
260
261
- /// This class is a work-around for the "is" operator not accepting a variable value as its right operand.
262
- ///
263
- /// This class is deprecated. It will be deleted soon.
264
- // TODO(a14n): Remove this when it goes to stable, https://github.com/flutter/flutter/pull/44189
265
- @Deprecated (
266
- 'TypeMatcher has been deprecated because it is no longer used in framework(only in deprecated methods). '
267
- 'This feature was deprecated after v1.12.1.'
268
- )
269
- @optionalTypeArgs
270
- class TypeMatcher <T > {
271
- /// Creates a type matcher for the given type parameter.
272
- const TypeMatcher ();
273
-
274
- /// Returns true if the given object is of type `T` .
275
- bool check (dynamic object) => object is T ;
276
- }
277
-
278
261
/// Describes the configuration for an [Element] .
279
262
///
280
263
/// Widgets are the central class hierarchy in the Flutter framework. A widget
You can’t perform that action at this time.
0 commit comments