alphabet_list_scroll_view icon indicating copy to clipboard operation
alphabet_list_scroll_view copied to clipboard

RangeError (index): Invalid value: Valid value range is empty: 0

Open webprolix opened this issue 2 years ago • 1 comments

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 avatar Jul 25 '21 10:07 webprolix

@webprolix Did you find a fix for this?

MiranMustafa avatar Sep 17 '21 10:09 MiranMustafa