gap property

double? gap
final

Spacing between the switch and leading/trailing widgets.

If null, uses the default gap from the theme.

Implementation

final double? gap;