itemBuilder property
Widget Function(BuildContext context, T item, bool isSelected, VoidCallback onTap)?
itemBuilder
final
A function to build a custom list item widget in the selection sheet.
Parameters:
- context: The build context.
item: The item to build the widget for.isSelected: Whether this item is currently selected.onTap: The callback to execute when the item is pressed.
Implementation
final Widget Function(BuildContext context, T item, bool isSelected, VoidCallback onTap)? itemBuilder;