Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Correct docs to refer to replacement render object #101858

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

Merged
merged 2 commits into from
Apr 13, 2022

Conversation

Piinks
Copy link
Contributor

@Piinks Piinks commented Apr 13, 2022

RenderUnconstrainedBox is deprecated, and will be removed in the near future. This trivial change updates the documentation to refer folks to the replacement API instead of the deprecated one.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@flutter-dashboard flutter-dashboard bot added the framework flutter/packages/flutter repository. See also f: labels. label Apr 13, 2022
@Piinks Piinks added c: contributor-productivity Team-specific productivity, code health, technical debt. d: api docs Issues with https://api.flutter.dev/ documentation c: tech-debt Technical debt, code quality, testing, etc. labels Apr 13, 2022
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

Comment on lines +88 to +89
/// * [RenderConstraintsTransformBox], [RenderConstraintsTransformBox], and
/// [RenderFlex] for examples of classes that use this indicator mixin.
Copy link
Member

Choose a reason for hiding this comment

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

aren't these the same?

Suggested change
/// * [RenderConstraintsTransformBox], [RenderConstraintsTransformBox], and
/// [RenderFlex] for examples of classes that use this indicator mixin.
/// * [RenderConstraintsTransformBox], and [RenderFlex] for examples of classes
/// that use this indicator mixin.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right! See #101934

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: contributor-productivity Team-specific productivity, code health, technical debt. c: tech-debt Technical debt, code quality, testing, etc. d: api docs Issues with https://api.flutter.dev/ framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants