Skip to content

Conversation

@guidezpl
Copy link
Member

@guidezpl guidezpl commented Mar 15, 2023

Description

  • Introduce secondary constructor for TabBar
  • Generate defaults from design tokens for secondary tab bar
  • Uses correct defaults throughout
  • Adds a M3 sample showcasing nested (primary + secondary) tabs
    image

Related Issues

Tests

  • TODO

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.

@guidezpl guidezpl requested a review from TahaTesser March 15, 2023 21:11
@flutter-dashboard flutter-dashboard bot added d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos documentation f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. c: contributor-productivity Team-specific productivity, code health, technical debt. labels Mar 15, 2023
@flutter-dashboard

This comment was marked as resolved.

@TahaTesser
Copy link
Member

TahaTesser commented Mar 15, 2023

Thanks for pushing this! I'll add the tests and get second review and land this soon.

(Just made an empty commit to make sure I can update the PR)

@TahaTesser TahaTesser requested a review from Piinks March 22, 2023 14:46
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.

Mostly some style nits, but over all this is nice!

@TahaTesser
Copy link
Member

Mostly some style nits, but over all this is nice!

Thank you so much for adding fixing the style!

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.

Nice! LGTM, thank you!

@Piinks Piinks added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App c: contributor-productivity Team-specific productivity, code health, technical debt. d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update TabBar to support Material 3

3 participants