toggleOptionOnTap property

bool toggleOptionOnTap
final

If this value is set to true, on tap in the current selected option the value is set to null.

The default value is false.

Toggle option:

Implementation

final bool toggleOptionOnTap;