Commit 1aa2751b authored by Ian Hickson's avatar Ian Hickson

Trivial whitespace fixes.

parent 4e329a67
......@@ -147,7 +147,7 @@ class TestParticleSystem {
_emitCounter += dt;
}
while(_particles.length < maxParticles
while (_particles.length < maxParticles
&& _emitCounter > rate
&& (numParticlesToEmit == 0 || _numEmittedParticles < numParticlesToEmit)) {
// Add a new particle
......
......@@ -29,7 +29,7 @@ class IndexedStackDemoState extends State<IndexedStackDemo> {
}
Widget build(BuildContext context) {
List <PopupMenuItem> items = _buildMenu();
List<PopupMenuItem> items = _buildMenu();
IndexedStack indexedStack = new IndexedStack(items, index: _itemIndex, alignment: const FractionalOffset(0.5, 0.0));
return new Scaffold(
......
......@@ -592,7 +592,7 @@ abstract class RenderBox extends RenderObject {
assert(attached);
Matrix4 transform = new Matrix4.identity();
RenderObject renderer = this;
while(renderer != null) {
while (renderer != null) {
renderer.applyPaintTransform(transform);
renderer = renderer.parent;
}
......@@ -604,7 +604,7 @@ abstract class RenderBox extends RenderObject {
/// Convert the given point from the local coordiante system for this box to
/// the global coordinate sytem
Point localToGlobal(Point point) {
List <RenderObject> renderers = <RenderObject>[];
List<RenderObject> renderers = <RenderObject>[];
for (RenderObject renderer = this; renderer != null; renderer = renderer.parent)
renderers.add(renderer);
Matrix4 transform = new Matrix4.identity();
......
......@@ -614,7 +614,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget {
_debugDoingLayout = true;
try {
// TODO(ianh): assert that we're not allowing previously dirty nodes to redirty themeselves
while(_nodesNeedingLayout.isNotEmpty) {
while (_nodesNeedingLayout.isNotEmpty) {
List<RenderObject> dirtyNodes = _nodesNeedingLayout;
_nodesNeedingLayout = new List<RenderObject>();
dirtyNodes..sort((RenderObject a, RenderObject b) => a.depth - b.depth)..forEach((RenderObject node) {
......
......@@ -51,7 +51,7 @@ class WidgetTester {
if (layer is ContainerLayer) {
ContainerLayer root = layer;
Layer child = root.firstChild;
while(child != null) {
while (child != null) {
result.addAll(_layers(child));
child = child.nextSibling;
}
......
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