onPress property
A callback for when the item is pressed.
The item is not interactable if the following are all null:
Implementation
final VoidCallback? onPress;
A callback for when the item is pressed.
The item is not interactable if the following are all null:
final VoidCallback? onPress;