We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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(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"
The text was updated successfully, but these errors were encountered:
@webprolix Did you find a fix for this?
Sorry, something went wrong.
No branches or pull requests
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(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"
The text was updated successfully, but these errors were encountered: