2

How can I use the Showcase View in a ListView Item in Flutter?

I have a ListView, I want to show a showcase in any item of this list. is there any way to do this in flutter?

I guess the showcaseview package doesn't support ListView items. (or I couldn't)

Like this;

enter image description here

Ufuk Zimmerman
  • 510
  • 6
  • 18

1 Answers1

8

I Solved.

Example :

ListView.builder(
        shrinkWrap: true,
        itemBuilder: (cont, index) {
          return index == 0 ? ShowCase(key: accountItemShowCase,
                                       title: 'Başlık',
                                       description:'Açıklama', child:bankAccountItem(idx)) : bankAccountItem(index);
        },
        itemCount: items.length,
      )
Ufuk Zimmerman
  • 510
  • 6
  • 18