Spell check of Flutter docs (#45200)
No code changes, just comments: I spell-checked all the comments in the repo.
This commit is contained in:
@@ -65,7 +65,7 @@ abstract class AccessibilityGuideline {
|
||||
String get description;
|
||||
}
|
||||
|
||||
/// A guideline which enforces that all tapable semantics nodes have a minimum
|
||||
/// A guideline which enforces that all tappable semantics nodes have a minimum
|
||||
/// size.
|
||||
///
|
||||
/// Each platform defines its own guidelines for minimum tap areas.
|
||||
@@ -73,7 +73,7 @@ abstract class AccessibilityGuideline {
|
||||
class MinimumTapTargetGuideline extends AccessibilityGuideline {
|
||||
const MinimumTapTargetGuideline._(this.size, this.link);
|
||||
|
||||
/// The minimum allowed size of a tapable node.
|
||||
/// The minimum allowed size of a tappable node.
|
||||
final Size size;
|
||||
|
||||
/// A link describing the tap target guidelines for a platform.
|
||||
@@ -419,7 +419,7 @@ class _ContrastReport {
|
||||
}
|
||||
}
|
||||
|
||||
/// A guideline which requires tapable semantic nodes a minimum size of 48 by 48.
|
||||
/// A guideline which requires tappable semantic nodes a minimum size of 48 by 48.
|
||||
///
|
||||
/// See also:
|
||||
///
|
||||
@@ -429,7 +429,7 @@ const AccessibilityGuideline androidTapTargetGuideline = MinimumTapTargetGuideli
|
||||
'https://support.google.com/accessibility/android/answer/7101858?hl=en',
|
||||
);
|
||||
|
||||
/// A guideline which requires tapable semantic nodes a minimum size of 44 by 44.
|
||||
/// A guideline which requires tappable semantic nodes a minimum size of 44 by 44.
|
||||
///
|
||||
/// See also:
|
||||
///
|
||||
|
||||
@@ -142,7 +142,7 @@ Matcher isSameColorAs(Color color) => _ColorMatcher(targetColor: color);
|
||||
/// empty, and does not contain the default `Instance of ...` string.
|
||||
const Matcher hasOneLineDescription = _HasOneLineDescription();
|
||||
|
||||
/// Asserts that an object's toStringDeep() is a plausible multi-line
|
||||
/// Asserts that an object's toStringDeep() is a plausible multiline
|
||||
/// description.
|
||||
///
|
||||
/// Specifically, this matcher checks that an object's
|
||||
@@ -308,7 +308,7 @@ Matcher coversSameAreaAs(Path expectedPath, { @required Rect areaToCompare, int
|
||||
/// treated as the image for the widget. As such, you may choose to wrap a test
|
||||
/// widget in a [RepaintBoundary] to specify a particular focus for the test.
|
||||
///
|
||||
/// The [key] may be either a [Uri] or a [String] representation of a URI.
|
||||
/// The [key] may be either a [Uri] or a [String] representation of a URL.
|
||||
///
|
||||
/// The [version] is a number that can be used to differentiate historical
|
||||
/// golden files. This parameter is optional.
|
||||
@@ -589,8 +589,8 @@ Matcher matchesSemantics({
|
||||
///
|
||||
/// Supported accessibility guidelines:
|
||||
///
|
||||
/// * [androidTapTargetGuideline], for Android minimum tapable area guidelines.
|
||||
/// * [iOSTapTargetGuideline], for iOS minimum tapable area guidelines.
|
||||
/// * [androidTapTargetGuideline], for Android minimum tappable area guidelines.
|
||||
/// * [iOSTapTargetGuideline], for iOS minimum tappable area guidelines.
|
||||
/// * [textContrastGuideline], for WCAG minimum text contrast guidelines.
|
||||
AsyncMatcher meetsGuideline(AccessibilityGuideline guideline) {
|
||||
return _MatchesAccessibilityGuideline(guideline);
|
||||
@@ -812,7 +812,7 @@ class _EqualsIgnoringHashCodes extends Matcher {
|
||||
) {
|
||||
if (matchState.containsKey(_mismatchedValueKey)) {
|
||||
final String actualValue = matchState[_mismatchedValueKey] as String;
|
||||
// Leading whitespace is added so that lines in the multi-line
|
||||
// Leading whitespace is added so that lines in the multiline
|
||||
// description returned by addDescriptionOf are all indented equally
|
||||
// which makes the output easier to read for this case.
|
||||
return mismatchDescription
|
||||
|
||||
Reference in New Issue
Block a user