Skip to content

Conversation

@HansMuller
Copy link
Contributor

I've removed the new Android scroll simulation for the moment.

The platform-specific stuff has moved from the ScrollBehavior classes to the ScrollSimulation class which now uses keyword parameters.

scrollDrag, position, velocity, double.NEGATIVE_INFINITY, double.INFINITY
return new ScrollSimulation(
position: position,
velocity: velocity,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No platform here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. I will fix that.

@abarth
Copy link
Contributor

abarth commented Oct 14, 2016

LGTM

We should probably move ScrollSimulation out of the physics library. It's not really an immutable law of physics how things scroll. :)

@HansMuller
Copy link
Contributor Author

That's a good point about ScrollSimulation, I wasn't happy putting the platform-specific stuff in there. I've moved it.

@abarth
Copy link
Contributor

abarth commented Oct 15, 2016

LGTM

@HansMuller HansMuller merged commit f167efb into flutter:master Oct 15, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants