ListItem<T> constructor

const ListItem<T>({
  1. Key? key,
  2. required Widget builder(
    1. T
    ),
  3. required T item,
  4. required dynamic onItemSelected(
    1. T
    )?,
})

Implementation

const ListItem({
  Key? key,
  required this.builder,
  required this.item,
  required this.onItemSelected,
}) : super(key: key);