Skip to content

Add sample code for ScaleTransition#63886

Merged
fluttergithubbot merged 5 commits intoflutter:masterfrom
ChoiAhHyun:scaletransition_sample_code
Sep 8, 2020
Merged

Add sample code for ScaleTransition#63886
fluttergithubbot merged 5 commits intoflutter:masterfrom
ChoiAhHyun:scaletransition_sample_code

Conversation

@ChoiAhHyun
Copy link
Contributor

Description

ScaleTransition doesn't have sample code, so I added it. Thank you:)
Reference: https://api.flutter.dev/flutter/widgets/ScaleTransition-class.html

Related Issues

N/A

Tests

N/A

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 read the Tree Hygiene wiki page, which explains my responsibilities.
  • 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

Did any tests fail when you ran them? Please read Handling breaking changes.

  • No, no existing tests failed, so this is not a breaking change.

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@flutter-dashboard flutter-dashboard bot added the framework flutter/packages/flutter repository. See also f: labels. label Aug 16, 2020
@goderbauer goderbauer requested a review from Piinks August 19, 2020 21:50
@Piinks Piinks added a: animation Animation APIs d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos documentation labels Aug 19, 2020
Copy link
Contributor

@Piinks Piinks left a comment

Choose a reason for hiding this comment

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

Hey @ChoiAhHyun welcome! 🎉
Thank you for the contribution! Just one small change below.

///
/// @override
/// Widget build(BuildContext context) {
/// return ScaleTransition(
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you wrap a Scaffold around the transition?

…ample_code

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
@ChoiAhHyun
Copy link
Contributor Author

@Piinks Hi! I updated my code to reflect your comment :)

Copy link
Contributor

@Piinks Piinks left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for the contribution!

@fluttergithubbot
Copy link
Contributor

This pull request is not suitable for automatic merging in its current state.

  • The status or check suite testonly_devicelab_tests has failed. Please fix the issues identified (or deflake) before re-applying this label.

@Piinks
Copy link
Contributor

Piinks commented Aug 27, 2020

Hi @ChoiAhHyun would you update your branch with changes from master once more? That should resolve this check that is stuck.

…ample_code

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
@fluttergithubbot fluttergithubbot merged commit 3b744ee into flutter:master Sep 8, 2020
@ChoiAhHyun ChoiAhHyun deleted the scaletransition_sample_code branch September 9, 2020 09:04
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

a: animation Animation APIs d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants