Skip to content

Extract widget with a child parameter #49575

Open
@keertip

Description

@keertip

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.customer-flutterdevexp-refactoringIssues with analysis server refactoringstype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions