Simple Doc Fixes (#35743)
* Fix "the a" typos * Rephrase global key API doc description
This commit is contained in:
@@ -84,7 +84,7 @@ const Matcher findsOneWidget = _FindsWidgetMatcher(1, 1);
|
||||
/// * [findsOneWidget], when you want the finder to find exactly one widget.
|
||||
Matcher findsNWidgets(int n) => _FindsWidgetMatcher(n, n);
|
||||
|
||||
/// Asserts that the [Finder] locates the a single widget that has at
|
||||
/// Asserts that the [Finder] locates a single widget that has at
|
||||
/// least one [Offstage] widget ancestor.
|
||||
///
|
||||
/// It's important to use a full finder, since by default finders exclude
|
||||
@@ -101,7 +101,7 @@ Matcher findsNWidgets(int n) => _FindsWidgetMatcher(n, n);
|
||||
/// * [isOnstage], the opposite.
|
||||
const Matcher isOffstage = _IsOffstage();
|
||||
|
||||
/// Asserts that the [Finder] locates the a single widget that has no
|
||||
/// Asserts that the [Finder] locates a single widget that has no
|
||||
/// [Offstage] widget ancestors.
|
||||
///
|
||||
/// See also:
|
||||
@@ -109,7 +109,7 @@ const Matcher isOffstage = _IsOffstage();
|
||||
/// * [isOffstage], the opposite.
|
||||
const Matcher isOnstage = _IsOnstage();
|
||||
|
||||
/// Asserts that the [Finder] locates the a single widget that has at
|
||||
/// Asserts that the [Finder] locates a single widget that has at
|
||||
/// least one [Card] widget ancestor.
|
||||
///
|
||||
/// See also:
|
||||
@@ -117,7 +117,7 @@ const Matcher isOnstage = _IsOnstage();
|
||||
/// * [isNotInCard], the opposite.
|
||||
const Matcher isInCard = _IsInCard();
|
||||
|
||||
/// Asserts that the [Finder] locates the a single widget that has no
|
||||
/// Asserts that the [Finder] locates a single widget that has no
|
||||
/// [Card] widget ancestors.
|
||||
///
|
||||
/// This is equivalent to `isNot(isInCard)`.
|
||||
|
||||
Reference in New Issue
Block a user