Americanise spellings (#33323)

Updates documentation and non-public API to use American spellings for
consistency with the rest of the codebase.

No changes to behaviour... other than how it's spelt.
This commit is contained in:
Chris Bracken
2019-05-24 19:13:02 -07:00
committed by GitHub
parent 4d9923201b
commit 156b4220b4
26 changed files with 51 additions and 51 deletions

View File

@@ -623,7 +623,7 @@ class SectorHitTestResult extends HitTestResult {
// TODO(goderbauer): Add convenience methods to transform hit test positions
// once we have RenderSector implementations that move the origin of their
// children (e.g. RenderSectorTransform analogues to RenderTransform).
// children (e.g. RenderSectorTransform analogs to RenderTransform).
}
/// A hit test entry used by [RenderSector].

View File

@@ -7,7 +7,7 @@ import 'package:flutter/rendering.dart';
import '../rendering/src/solid_color_box.dart';
// Solid colour, RenderObject version
// Solid color, RenderObject version
void addFlexChildSolidColor(RenderFlex parent, Color backgroundColor, { int flex = 0 }) {
final RenderSolidColorBox child = RenderSolidColorBox(backgroundColor);
parent.add(child);
@@ -15,7 +15,7 @@ void addFlexChildSolidColor(RenderFlex parent, Color backgroundColor, { int flex
childParentData.flex = flex;
}
// Solid colour, Widget version
// Solid color, Widget version
class Rectangle extends StatelessWidget {
const Rectangle(this.color, { Key key }) : super(key: key);