alphabet_list_scroll_view
alphabet_list_scroll_view copied to clipboard
RangeError (index): Invalid value: Valid value range is empty: 0
return AlphabetListScrollView( strList: _names!, highlightTextStyle: const TextStyle( color: Colors.yellow, ), showPreview: true, itemBuilder: (context, index) { return ListTile(title: Text(_names![index])); }, indexedHeight: (i) { return 80; }, keyboardUsage: true, headerWidgetList: <AlphabetScrollListHeader>[ AlphabetScrollListHeader(widgetList: [ Padding( padding: const EdgeInsets.all(16.0), child: TextFormField( decoration: const InputDecoration( border: OutlineInputBorder(), suffix: Icon( Icons.search, color: Colors.grey, ), labelText: "Search", ), ), ) ], icon: const Icon(Icons.search), indexedHeaderHeight: (index) => 80), ], ); }
its showing error like "RangeError (index): Invalid value: Valid value range is empty: 0"
@webprolix Did you find a fix for this?