onTap property
Callback received when widget is tapped. It emits its current selected status.
Implementation
final Function(bool)? onTap;
Callback received when widget is tapped. It emits its current selected status.
final Function(bool)? onTap;