onTap property

VoidCallback? onTap
final

A function called whenever useCard is true and the user taps on the preview.

Typically used to edit or view the file.

Implementation

final VoidCallback? onTap;