Skip to content

Conversation

@abarth
Copy link
Contributor

@abarth abarth commented Feb 7, 2017

This patch improves PageView to the point where we can use it in the date
picker. Specifically, you now get onPageChanged notifications and you can
control which page is visible using a PageController.

@abarth
Copy link
Contributor Author

abarth commented Feb 7, 2017

@HansMuller @Hixie

Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we usually make curves optional and have them default to linear?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We do that in AnimationController, but we don't do that in ScrollController (today) because that would look ugly... Not sure what the best thing to do is.

Copy link
Contributor

Choose a reason for hiding this comment

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

add a comment in performResize to point to rereredimensions and saying that you're ignoring the return value, etc

Copy link
Contributor

Choose a reason for hiding this comment

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

also the comment here should now also mention performResize()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor

Choose a reason for hiding this comment

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

hey! :-P

Copy link
Contributor

Choose a reason for hiding this comment

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

oh i see, this code moved from the other file

Copy link
Contributor

Choose a reason for hiding this comment

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

add a comment explaining the sketchiness of this line

@Hixie
Copy link
Contributor

Hixie commented Feb 7, 2017

LGTM

This patch improves PageView to the point where we can use it in the date
picker. Specifically, you now get onPageChanged notifications and you can
control which page is visible using a PageController.
@abarth abarth merged commit 2eb4f2c into flutter:master Feb 7, 2017
@abarth abarth deleted the more_page_view branch February 7, 2017 23:51
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 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.

4 participants