offColor property

Color offColor
final

onColor is color when widget switched on, default value is: Colors.white. offColor is color when widget switched off, default value is: Colors.black.

Implementation

final Color onColor, offColor;