prefer_initializing_formals (#8797)
This commit is contained in:
committed by
GitHub
parent
f8238185cc
commit
a9ba0e2f88
@@ -23,9 +23,8 @@ Iterable<Element> collectAllElementsFrom(Element rootElement, {
|
||||
}
|
||||
|
||||
class _DepthFirstChildIterator implements Iterator<Element> {
|
||||
_DepthFirstChildIterator(Element rootElement, bool skipOffstage)
|
||||
: skipOffstage = skipOffstage,
|
||||
_stack = _reverseChildrenOf(rootElement, skipOffstage).toList();
|
||||
_DepthFirstChildIterator(Element rootElement, this.skipOffstage)
|
||||
: _stack = _reverseChildrenOf(rootElement, skipOffstage).toList();
|
||||
|
||||
final bool skipOffstage;
|
||||
|
||||
|
||||
@@ -829,10 +829,9 @@ const int _kPointerDecay = -2;
|
||||
|
||||
class _LiveTestPointerRecord {
|
||||
_LiveTestPointerRecord(
|
||||
int pointer,
|
||||
this.pointer,
|
||||
this.position
|
||||
) : pointer = pointer,
|
||||
color = new HSVColor.fromAHSV(0.8, (35.0 * pointer) % 360.0, 1.0, 1.0).toColor(),
|
||||
) : color = new HSVColor.fromAHSV(0.8, (35.0 * pointer) % 360.0, 1.0, 1.0).toColor(),
|
||||
decay = 1;
|
||||
final int pointer;
|
||||
final Color color;
|
||||
|
||||
Reference in New Issue
Block a user