Enable sort_child_properties_last lint (#91585)

This commit is contained in:
Ian Hickson
2021-10-11 21:23:02 -07:00
committed by GitHub
parent ee07b0eafc
commit 6d5fc420b6
42 changed files with 171 additions and 169 deletions

View File

@@ -132,18 +132,18 @@ class ExampleDragSource extends StatelessWidget {
if (heavy) {
return LongPressDraggable<Color>(
data: color,
child: contents,
feedback: feedback,
feedbackOffset: feedbackOffset,
dragAnchorStrategy: dragAnchorStrategy,
child: contents,
);
} else {
return Draggable<Color>(
data: color,
child: contents,
feedback: feedback,
feedbackOffset: feedbackOffset,
dragAnchorStrategy: dragAnchorStrategy,
child: contents,
);
}
}
@@ -208,10 +208,10 @@ class MovableBall extends StatelessWidget {
if (position == ballPosition) {
return Draggable<bool>(
data: true,
child: ball,
childWhenDragging: dashedBall,
feedback: ball,
maxSimultaneousDrags: 1,
child: ball,
);
} else {
return DragTarget<bool>(