gap property

double? gap
final

Spacing between the switch and its leading/trailing widgets.

Applied on both sides of the switch when leading or trailing widgets are provided. When null, defaults to framework spacing standards.

Implementation

final double? gap;