nylo-core / nylo

Nylo is the fastest way to build your next Flutter mobile app. Streamline your projects with Nylo's opinionated approach to building Flutter apps. Develop your next idea ⚡️
https://nylo.dev
MIT License
597 stars 61 forks source link

NyListView question #161

Closed andim27 closed 3 months ago

andim27 commented 3 months ago

Do not understand why NyListView not works(all was ok early)

 Expanded(
//--This code is working
                child: ListView.builder(
                  itemCount: incomingItems.length,
                  itemBuilder: (context, index) {
                    return itemTitleView(incomingItems[index]);
                  },
                ),
// This code do not working - why?
                //   NyListView(
                //   child: (BuildContext context, dynamic data) {
                //     return itemTitleView(data);
                //   },
                //   data: () async {
                //     return incomingItems;
                //   },
                //   stateName: "list_of_incoming",
                // ),
agordn52 commented 3 months ago

Hi @andim27,

Hope you're well.

Don't use NyListView inside a Expanded widget 👍