onPress property
Called when the item is pressed.
The method will run concurrently with animations if children is non-null.
Implementation
final VoidCallback? onPress;
Called when the item is pressed.
The method will run concurrently with animations if children is non-null.
final VoidCallback? onPress;