Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Conversation

@Piinks
Copy link
Contributor

@Piinks Piinks commented May 19, 2022

This parameter is being deprecated in flutter/flutter#97972
This migrates off of the old parameter and provides theme data for the other elements that previously used this.

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 the Flutter Style Guide recently, and have followed its advice.
  • 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.

),
visualDensity: VisualDensity.standard,
);
colorScheme: _colorScheme,
Copy link
Member

Choose a reason for hiding this comment

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

nit: could you sort and keep the component themes together?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Love it, so nice. Done.

Copy link
Member

Choose a reason for hiding this comment

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

Right? I almost want to propose a ThemeData ordering lint.

@Piinks Piinks merged commit 15df50c into flutter:main May 24, 2022
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.

2 participants