Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-landing SliverAnimatedList #42485

Merged
merged 23 commits into from Oct 21, 2019
Merged

Conversation

Piinks
Copy link
Contributor

@Piinks Piinks commented Oct 11, 2019

Description

Original PR (#28834) was reverted due to merge conflicts.

Will follow-up with an animation of the included sample app.

Related Issues

Fixes #11339

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require Flutter developers to manually update their apps to accommodate your change?

  • No, this is not a breaking change.

@fluttergithubbot fluttergithubbot added the framework flutter/packages/flutter repository. See also f: labels. label Oct 11, 2019
@googlebot
Copy link

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@Piinks Piinks added the f: scrolling Viewports, list views, slivers, etc. label Oct 11, 2019
@Piinks Piinks added a: animation Animation APIs c: new feature Nothing broken; request for a new capability and removed cla: no labels Oct 11, 2019
@Piinks
Copy link
Contributor Author

Piinks commented Oct 11, 2019

@simolus3 Apologies for the additional ping. Merging from the other branch went badly. 😅

@googlebot
Copy link

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

@Piinks
Copy link
Contributor Author

Piinks commented Oct 11, 2019

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

This is a dupe of #42452 which received cla consent from all authors.

@Piinks
Copy link
Contributor Author

Piinks commented Oct 11, 2019

cc/ @goderbauer 🙂

packages/flutter/lib/src/widgets/animated_list.dart Outdated Show resolved Hide resolved
packages/flutter/lib/src/widgets/animated_list.dart Outdated Show resolved Hide resolved
packages/flutter/lib/src/widgets/animated_list.dart Outdated Show resolved Hide resolved
packages/flutter/lib/src/widgets/animated_list.dart Outdated Show resolved Hide resolved
/// * [SliverList], which does not animate items when they are inserted or
/// removed.
///
///{@tool sample}
Copy link
Member

Choose a reason for hiding this comment

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

👍 for adding a sample!

Copy link
Member

Choose a reason for hiding this comment

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

Since this is an animated list, it would be really cool if it had an animation showing what this sample does. (not required for this PR).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cheers! I will add an animated visual via assets-for-api-docs once this lands.

@googlebot
Copy link

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@googlebot
Copy link

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

@googlebot
Copy link

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@googlebot
Copy link

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

@googlebot googlebot removed the cla: no label Oct 17, 2019
@simolus3
Copy link
Contributor

@googlebot I consent.

@Piinks
Copy link
Contributor Author

Piinks commented Oct 18, 2019

@goderbauer This is ready for another look. Sorry for the bot noise. 🤖

Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

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

LGTM with some style nits

packages/flutter/lib/src/widgets/animated_list.dart Outdated Show resolved Hide resolved
packages/flutter/lib/src/widgets/animated_list.dart Outdated Show resolved Hide resolved
packages/flutter/lib/src/widgets/animated_list.dart Outdated Show resolved Hide resolved
packages/flutter/lib/src/widgets/animated_list.dart Outdated Show resolved Hide resolved
packages/flutter/lib/src/widgets/animated_list.dart Outdated Show resolved Hide resolved
Co-Authored-By: Michael Goderbauer <goderbauer@google.com>
@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@Piinks Piinks merged commit 8387868 into flutter:master Oct 21, 2019
@Piinks Piinks deleted the sliverAnimatedUpdate branch November 22, 2019 00:57
Inconnu08 pushed a commit to Inconnu08/flutter that referenced this pull request Nov 26, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: animation Animation APIs c: new feature Nothing broken; request for a new capability f: scrolling Viewports, list views, slivers, etc. framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert AnimatedList to a sliver
5 participants