'Flutter: Lazy build in scrollview

I'm trying to build scrollview that has different kind of widgets like images ,text and rows. The problem is I want widgets start build (rendering) when it comes on screen not at startup.



Solution 1:[1]

Use the ListView.builder().

List<Widget> someItems;

...

ListView.builder(
  itemCount: someItems.length,
  itemBuilder: (context, index) {
    return someItems[index];
  },
)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 MaNDOOoo