onPress property

FutureOr<void> Function(dynamic complete(), CPListImageRowItem self)? onPress
getter/setter pair

An optional closure that CarPlay invokes when the user selects the list item. iOS 14.0+ | iPadOS 14.0+ | Mac Catalyst 14.0+

Implementation

FutureOr<void> Function(Function() complete, CPListImageRowItem self)?
    onPress;