Skip to content

Added ShapeBorder to expansionTile - #112218

Merged
auto-submit[bot] merged 2 commits into
flutter:masterfrom
DattatreyaReddy:expansion_tile_border_shape
Oct 3, 2022
Merged

auto-submit[bot] merged 2 commits into
flutter:masterfrom
DattatreyaReddy:expansion_tile_border_shape

Conversation

@DattatreyaReddy

@DattatreyaReddy DattatreyaReddy commented Sep 22, 2022 •

Copy link
Copy Markdown
Contributor

copy of #108861

Adds [borderColor, collapsedBorderColor,border, collapsedBorder] shape, collapsedShape, clipBehaviour properties to Expansion Tile widget.

  • uses ShapeBorderTween to add expand/close animation

  • replaces _borderColorTween with _borderTween

  • Changes Container decoration of expansionTile from BoxDecoration to ShapeDecoration

List which issues are fixed by this PR.

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.

@flutter-dashboard flutter-dashboard Bot added p: material_ui material_ui package in flutter/packages framework flutter/packages/flutter repository. See also f: labels. labels Sep 22, 2022
@DattatreyaReddy

DattatreyaReddy commented Sep 22, 2022 •

Copy link
Copy Markdown
Contributor Author

I would like to request a Review. @Piinks @bernaferrari

@gspencergoog gspencergoog left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

32384589-a60f0e74-c078-11e7-9bc1-e5b5287aea9d

@gspencergoog

Copy link
Copy Markdown
Contributor

Thanks for the PR, seems like a good addition! In the next step, we'll get a second reviewer to check it out.

@chunhtai chunhtai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, just some nits

Comment thread packages/flutter/lib/src/material/expansion_tile.dart Outdated
Comment thread packages/flutter/lib/src/material/expansion_tile.dart Outdated
Comment thread packages/flutter/lib/src/material/expansion_tile.dart Outdated
Comment thread packages/flutter/lib/src/material/expansion_tile.dart Outdated
Comment thread packages/flutter/lib/src/material/expansion_tile.dart Outdated
Comment thread packages/flutter/lib/src/material/expansion_tile.dart Outdated
@DattatreyaReddy
DattatreyaReddy force-pushed the expansion_tile_border_shape branch from e03f946 to 0a2ffc2 Compare October 3, 2022 16:50
@chunhtai chunhtai added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 3, 2022
@auto-submit
auto-submit Bot merged commit 3f22a07 into flutter:master Oct 3, 2022
@DattatreyaReddy
DattatreyaReddy deleted the expansion_tile_border_shape branch October 3, 2022 17:55
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 4, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Oct 4, 2022
@TahaTesser TahaTesser mentioned this pull request Oct 13, 2023
6 of 8 tasks
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 framework flutter/packages/flutter repository. See also f: labels. p: material_ui material_ui package in flutter/packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Control border in ExpansionTile when expand children. Proposal to add decoration / border argument to ExpansionTile to control borders

3 participants