onPress property

dynamic Function() onPress
final

A callback function that CarPlay invokes after the user taps the action button.

Implementation

final Function() onPress;