Commit d4c2481e authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Fix doc comments typos (#6499)

parent 441a62a4
......@@ -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.
......
......@@ -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,
......
......@@ -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);
......
......@@ -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.
///
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment