diff --git a/packages/flutter/lib/src/painting/text_editing.dart b/packages/flutter/lib/src/painting/text_editing.dart index 139d1aa8b5..9fde58c06f 100644 --- a/packages/flutter/lib/src/painting/text_editing.dart +++ b/packages/flutter/lib/src/painting/text_editing.dart @@ -41,7 +41,7 @@ class TextRange { /// Whether this range is empty (but still potentially placed inside the text). bool get isCollapsed => start == end; - /// Whether the start of this range preceeds the end. + /// Whether the start of this range precedes the end. bool get isNormalized => end >= start; /// The text before this range. diff --git a/packages/flutter/lib/src/painting/text_span.dart b/packages/flutter/lib/src/painting/text_span.dart index c31c374183..1917e83f89 100644 --- a/packages/flutter/lib/src/painting/text_span.dart +++ b/packages/flutter/lib/src/painting/text_span.dart @@ -62,13 +62,13 @@ class TextSpan { /// The text contained in the span. /// - /// If both [text] and [children] are non-null, the text will preceed the + /// If both [text] and [children] are non-null, the text will precede the /// children. final String text; /// Additional spans to include as children. /// - /// If both [text] and [children] are non-null, the text will preceed the + /// If both [text] and [children] are non-null, the text will precede the /// children. /// /// Modifying the list after the [TextSpan] has been created is not diff --git a/packages/flutter/lib/src/rendering/box.dart b/packages/flutter/lib/src/rendering/box.dart index 6a7b1db03e..bfd7ea4d69 100644 --- a/packages/flutter/lib/src/rendering/box.dart +++ b/packages/flutter/lib/src/rendering/box.dart @@ -90,7 +90,7 @@ class BoxConstraints extends Constraints { minHeight = 0.0, maxHeight = size.height; - /// Creates box constraints that expand to fill another box contraints. + /// Creates box constraints that expand to fill another box constraints. /// /// If width or height is given, the constraints will require exactly the /// given value in the given dimension. diff --git a/packages/flutter/lib/src/rendering/flex.dart b/packages/flutter/lib/src/rendering/flex.dart index bc0ab56236..c524fb14b9 100644 --- a/packages/flutter/lib/src/rendering/flex.dart +++ b/packages/flutter/lib/src/rendering/flex.dart @@ -45,7 +45,7 @@ class FlexParentData extends ContainerBoxParentDataMixin { /// During a flex layout, available space along the main axis is allocated to /// children. After allocating space, there might be some remaining free space. /// This value controls whether to maximize or minimize the amount of free -/// space, subject to the incoming layout contraints. +/// space, subject to the incoming layout constraints. /// /// See [Row], [Column], [MainAxisAlignment], [Flexible]. enum MainAxisSize { @@ -169,7 +169,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin