Closed pradt closed 3 years ago
I tried to use the example provided in the readme and it didn't work, after digging around I noticed that what you actually need instead of
setState(() { // required _items.add(str); });
is
setState(() { // required _items.add(Item( title: str, active: true, index: 1, )); });
It might help others out.
@pradt thanks for the hint
I tried to use the example provided in the readme and it didn't work, after digging around I noticed that what you actually need instead of
is
It might help others out.