mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Add doc-import for references to CommonFinders (#156539)
This adds back in the doc comment references for `CommonFinders` that
caused CI issues when @gspencergoog was trying to land
https://github.com/flutter/flutter/pull/149349.
This essentially reverts
a7721fe489
.
This commit is contained in:
parent
82ebb74c64
commit
e1dd322c8d
@ -2,6 +2,9 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
|
/// @docImport 'package:flutter_test/flutter_test.dart';
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
|
|
||||||
/// An enum identifying standard UI components.
|
/// An enum identifying standard UI components.
|
||||||
@ -28,8 +31,10 @@ import 'package:flutter/foundation.dart';
|
|||||||
/// or fragile to create a reliable test matcher for. It is not (nor should it
|
/// or fragile to create a reliable test matcher for. It is not (nor should it
|
||||||
/// become) an exhaustive list of standard UI components.
|
/// become) an exhaustive list of standard UI components.
|
||||||
///
|
///
|
||||||
/// These are typically used in tests via `find.backButton()` or
|
/// See also:
|
||||||
/// `find.closeButton()`.
|
///
|
||||||
|
/// - [CommonFinders.backButton], which in tests is used as `find.backButton()`.
|
||||||
|
/// - [CommonFinders.closeButton], which in tests is used as `find.closeButton()`.
|
||||||
enum StandardComponentType {
|
enum StandardComponentType {
|
||||||
/// Indicates the associated widget is a standard back button, typically used
|
/// Indicates the associated widget is a standard back button, typically used
|
||||||
/// to navigate back to the previous screen.
|
/// to navigate back to the previous screen.
|
||||||
|
Loading…
Reference in New Issue
Block a user