onPress property
The callback that is called when the box is tapped or otherwise activated.
If this callback and onLongPress are null, then it will be disabled automatically.
Implementation
final VoidCallback? onPress;
The callback that is called when the box is tapped or otherwise activated.
If this callback and onLongPress are null, then it will be disabled automatically.
final VoidCallback? onPress;