onTap property
onTap function for curtain item.
If sets on null, it will do the change index by taping on it.
Implementation
final VoidCallback? onTap;
onTap function for curtain item.
If sets on null, it will do the change index by taping on it.
final VoidCallback? onTap;