Unverified Commit 7751144c authored by jslavitz's avatar jslavitz Committed by GitHub

Revert switch drag behavior (#26770)

parent 43bf66a9
......@@ -73,7 +73,7 @@ class Switch extends StatefulWidget {
this.activeThumbImage,
this.inactiveThumbImage,
this.materialTapTargetSize,
this.dragStartBehavior = DragStartBehavior.start,
this.dragStartBehavior = DragStartBehavior.down,
}) : _switchType = _SwitchType.material,
assert(dragStartBehavior != null),
super(key: key);
......@@ -97,7 +97,7 @@ class Switch extends StatefulWidget {
this.activeThumbImage,
this.inactiveThumbImage,
this.materialTapTargetSize,
this.dragStartBehavior = DragStartBehavior.start,
this.dragStartBehavior = DragStartBehavior.down,
}) : _switchType = _SwitchType.adaptive,
super(key: key);
......
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