diff --git a/packages/flutter/lib/src/painting/fractional_offset.dart b/packages/flutter/lib/src/painting/fractional_offset.dart index 11573ba330e..e9be93576b1 100644 --- a/packages/flutter/lib/src/painting/fractional_offset.dart +++ b/packages/flutter/lib/src/painting/fractional_offset.dart @@ -17,14 +17,14 @@ class FractionalOffset { /// The distance fraction in the horizontal direction. /// - /// A value of 0.0 cooresponds to the leftmost edge. A value of 1.0 - /// cooresponds to the rightmost edge. + /// A value of 0.0 corresponds to the leftmost edge. A value of 1.0 + /// corresponds to the rightmost edge. final double dx; /// The distance fraction in the vertical direction. /// - /// A value of 0.0 cooresponds to the topmost edge. A value of 1.0 - /// cooresponds to the bottommost edge. + /// A value of 0.0 corresponds to the topmost edge. A value of 1.0 + /// corresponds to the bottommost edge. final double dy; /// The top left corner. diff --git a/packages/flutter/lib/src/painting/text_style.dart b/packages/flutter/lib/src/painting/text_style.dart index b0006f22681..81365833f67 100644 --- a/packages/flutter/lib/src/painting/text_style.dart +++ b/packages/flutter/lib/src/painting/text_style.dart @@ -34,7 +34,7 @@ class TextStyle { /// The name of the font to use when painting the text (e.g., Roboto). final String fontFamily; - /// The size of gyphs (in logical pixels) to use when painting the text. + /// The size of glyphs (in logical pixels) to use when painting the text. /// /// During painting, the [fontSize] is multiplied by the current /// `textScaleFactor` to let users make it easier to read text by increasing @@ -120,7 +120,7 @@ class TextStyle { /// If the underlying values are null, then the corresponding factors and/or /// deltas must not be specified. /// - /// The non-numeric fields can be controlled using the cooresponding arguments. + /// The non-numeric fields can be controlled using the corresponding arguments. TextStyle apply({ Color color, String fontFamily, diff --git a/packages/flutter/lib/src/rendering/semantics.dart b/packages/flutter/lib/src/rendering/semantics.dart index d4e13d3bc60..43bec1dab77 100644 --- a/packages/flutter/lib/src/rendering/semantics.dart +++ b/packages/flutter/lib/src/rendering/semantics.dart @@ -288,7 +288,7 @@ class SemanticsNode extends AbstractNode { bool get hasCheckedState => (_flags & SemanticsFlags.hasCheckedState.index) != 0; set hasCheckedState(bool value) => _setFlag(SemanticsFlags.hasCheckedState, value); - /// If this node has Boolean state that can be controlled by the user, whether that state is on or off, cooresponding to `true` and `false`, respectively. + /// If this node has Boolean state that can be controlled by the user, whether that state is on or off, corresponding to `true` and `false`, respectively. bool get isChecked => (_flags & SemanticsFlags.isChecked.index) != 0; set isChecked(bool value) => _setFlag(SemanticsFlags.isChecked, value); diff --git a/packages/flutter/lib/src/widgets/pageable_list.dart b/packages/flutter/lib/src/widgets/pageable_list.dart index 7f792becbbb..53c411ae02e 100644 --- a/packages/flutter/lib/src/widgets/pageable_list.dart +++ b/packages/flutter/lib/src/widgets/pageable_list.dart @@ -30,7 +30,7 @@ enum PageableListFlingBehavior { /// a value that shows a single page. /// /// [Pageable] uses different units for its scroll offset than [Scrollable]. One -/// unit of scroll offset cooresponds to one child widget, which means a scroll +/// unit of scroll offset corresponds to one child widget, which means a scroll /// offset of 2.75 indicates that the viewport is three quarters of the way /// between the child with index 2 and the child with index 3. /// @@ -526,7 +526,7 @@ class _VirtualPageViewportElement extends VirtualViewportElement { /// /// Useful for [Pageable] widgets. /// -/// One unit of start offset cooresponds to one child widget, which means a +/// One unit of start offset corresponds to one child widget, which means a /// start offset of 2.75 indicates that the viewport is three quarters of the /// way between the child with index 2 and the child with index 3. /// @@ -558,7 +558,7 @@ class PageViewport extends _VirtualPageViewport with VirtualViewportFromIterable /// /// Useful for [Pageable] widgets. /// -/// One unit of start offset cooresponds to one child widget, which means a +/// One unit of start offset corresponds to one child widget, which means a /// start offset of 2.75 indicates that the viewport is three quarters of the /// way between the child with index 2 and the child with index 3. /// diff --git a/packages/flutter_tools/lib/src/android/android_sdk.dart b/packages/flutter_tools/lib/src/android/android_sdk.dart index e509d6bcebd..65e3edc648b 100644 --- a/packages/flutter_tools/lib/src/android/android_sdk.dart +++ b/packages/flutter_tools/lib/src/android/android_sdk.dart @@ -153,7 +153,7 @@ class AndroidSdk { .toList(); } - // Match up platforms with the best cooresponding build-tools. + // Match up platforms with the best corresponding build-tools. _sdkVersions = platforms.map((String platformName) { int platformVersion;