flutter / flutter/flutter-intellij

Offer more Builders when wrapping widgets

Open
#4,540 17 comments 12 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

I'd like for the "wrap widget" context menu to offer a greater selection of builders, e.g., `AnimatedBuilder` and `LayoutBuilder`.

When it comes to single-child widgets, and even multi-child widgets, it's easy to select a similar widget and then rename it. For example, if I want a `Stack`, it's not available in the context menu, but I can easily select `Column` and then rename it. However, `Builder`s are not so easily substituted.

`Builder`s have varying additional arguments, e.g., `Stream`, `Listenable`, etc. Moreover, the builder delegate signature varies between `Builder`s.

Providing more `Builder`s would be a much bigger time saver for me than having a long list of interchangeable widgets.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.