Skip to content

Conversation

@mpcomplete
Copy link
Contributor

Fixes #5684

Copy link
Contributor

Choose a reason for hiding this comment

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

Tween<double>

Copy link
Contributor

Choose a reason for hiding this comment

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

1.5*extraPadding -> 1.5 * extraPadding

Copy link
Contributor

Choose a reason for hiding this comment

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

This is great. Much easier to read!

Copy link
Contributor

Choose a reason for hiding this comment

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

We've been putting spaces in expressions like this, 1.5 * extraPadding

Copy link
Contributor

Choose a reason for hiding this comment

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

You'll want a dispose override that _textController.dispose()

Copy link
Contributor

Choose a reason for hiding this comment

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

You could Positioned.fromRect() here, with a Rect constant parameter.

Copy link
Contributor

@HansMuller HansMuller Sep 15, 2016

Choose a reason for hiding this comment

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

This is slick and I'm looking forward to seeing it.

I think it would be a little cleaner to create a Rect animation, like new RectTween(...).animate(_textController) and use it with an AnimatedBuilder below. And maybe call _textController just _controller.

Copy link
Contributor

Choose a reason for hiding this comment

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

If you could use new Positioned.fromRect(rect: _imageRectAnimation.value) here

@mpcomplete
Copy link
Contributor Author

Ready for another look.

Copy link
Contributor

@HansMuller HansMuller left a comment

Choose a reason for hiding this comment

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

Just needs one small fix. LGTM

Copy link
Contributor

Choose a reason for hiding this comment

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

The super.dispose() call should be last

@mpcomplete mpcomplete merged commit f0f99a4 into flutter:master Sep 16, 2016
liyuqian added a commit to liyuqian/flutter that referenced this pull request Jul 27, 2018
72a38a6 Build Android engine in presubmit using Cirrus and GCE (flutter#5882)
f9f40ba Log uncaught exceptions from JNI calls at a higher priority (flutter#5891)
723b278 Update license script README (flutter#5890)
9420da1 Roll src/third_party/skia 9acfc6cac2c6..227424b57d28 (10 commits) (flutter#5888)
27c9de5 Roll src/third_party/skia 55b1e6168454..9acfc6cac2c6 (1 commits) (flutter#5887)
8b8c52e Roll src/third_party/skia b935cf8e12d7..55b1e6168454 (1 commits) (flutter#5886)
89602cc [scenic] Expose compositor context from rasterizer. (flutter#5739)
9baeb9c Roll src/third_party/skia 5f1dc76d0cec..b935cf8e12d7 (1 commits) (flutter#5885)
liyuqian added a commit that referenced this pull request Jul 28, 2018
72a38a6 Build Android engine in presubmit using Cirrus and GCE (#5882)
f9f40ba Log uncaught exceptions from JNI calls at a higher priority (#5891)
723b278 Update license script README (#5890)
9420da1 Roll src/third_party/skia 9acfc6cac2c6..227424b57d28 (10 commits) (#5888)
27c9de5 Roll src/third_party/skia 55b1e6168454..9acfc6cac2c6 (1 commits) (#5887)
8b8c52e Roll src/third_party/skia b935cf8e12d7..55b1e6168454 (1 commits) (#5886)
89602cc [scenic] Expose compositor context from rasterizer. (#5739)
9baeb9c Roll src/third_party/skia 5f1dc76d0cec..b935cf8e12d7 (1 commits) (#5885)
@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.

Gallery, Pesto: pesto icon in app bar jumps/janks on resize

3 participants