nil icon indicating copy to clipboard operation
nil copied to clipboard

support MultiChildRenderObjectElement feature

Open Beyond-Chao opened this issue 2 years ago • 3 comments

There is any way to support MultiChildRenderObjectElement ? that will more flexibility and generality,thx

Beyond-Chao avatar May 13 '22 10:05 Beyond-Chao

Currently we wanted to integrate nil in our project. Since it is not supported for Lists we can only remove a small amount of our SizedBox()/Container() widgets. I think making this possible would lead to a very useful package to increase performance.

OpenSphereSoftware avatar Aug 04 '22 06:08 OpenSphereSoftware

hello @Beyond-Chao

you can use the if condition inside a column, row, or listview with an else statement. so we actually have no need for a nil widget there.

Abhishek01039 avatar Nov 23 '22 13:11 Abhishek01039

@Abhishek01039 you can't. if you use any Builder inside MultiChildRenderObjectElement which can return nothing.

bgoncharuck avatar Jan 16 '23 15:01 bgoncharuck