onPress property
An optional callback function that CarPlay invokes when the user selects the list item.
Implementation
final Function(Function() complete, CPListItem self)? onPress;
An optional callback function that CarPlay invokes when the user selects the list item.
final Function(Function() complete, CPListItem self)? onPress;