Skip to content

Extract widget with a child parameter #49575

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

Open
Tracked by #55825
keertip opened this issue Aug 1, 2022 · 2 comments
Open
Tracked by #55825

Extract widget with a child parameter #49575

keertip opened this issue Aug 1, 2022 · 2 comments
Labels
area-devexp For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages. customer-flutter devexp-refactoring Issues with analysis server refactorings P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug

Comments

@keertip
Copy link
Contributor

keertip commented Aug 1, 2022

Extracting a surrounding widget while keeping a child parameter.

for example

Container(child: Text())

Extract Container as new widget called Wrapper and keep Text as its child, so the result would be

Wrapper(child: Text())

Should be able to do the same with children or builder pattern

@keertip keertip added legacy-area-analyzer Use area-devexp instead. P3 A lower priority bug or feature request devexp-refactoring Issues with analysis server refactorings customer-flutter type-enhancement A request for a change that isn't a bug labels Aug 1, 2022
@Captured-Heart
Copy link

When you say children, do you mean in cases like using ListView, Column, Row widgets?

@bwilkerson
Copy link
Member

Is this the same request as #52567, or are there differences?

@bwilkerson bwilkerson added area-devexp For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages. and removed legacy-area-analyzer Use area-devexp instead. labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-devexp For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages. customer-flutter devexp-refactoring Issues with analysis server refactorings P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants