Custom colors for the switch track. onTintColor is now deprecated.
-
iOS: when the switch value is false, the track shrinks into the border. If you want to change the color of the background exposed by the shrunken track, use ios_backgroundColor.
+
Custom colors for the switch track.
+
iOS: When the switch value is false, the track shrinks into the border. If you want to change the color of the background exposed by the shrunken track, use ios_backgroundColor.
Custom colors for the switch track. onTintColor is now deprecated.
-
iOS: when the switch value is false, the track shrinks into the border. If you want to change the color of the background exposed by the shrunken track, use ios_backgroundColor.
+
Custom colors for the switch track.
+
iOS: When the switch value is false, the track shrinks into the border. If you want to change the color of the background exposed by the shrunken track, use ios_backgroundColor.
Custom colors for the switch track. onTintColor is now deprecated.
-
iOS: when the switch value is false, the track shrinks into the border. If you want to change the color of the background exposed by the shrunken track, use ios_backgroundColor.
+
Custom colors for the switch track.
+
iOS: When the switch value is false, the track shrinks into the border. If you want to change the color of the background exposed by the shrunken track, use ios_backgroundColor.
Type
Required
@@ -120,6 +120,7 @@
tintColor
+
tintColor is deprecated, use trackColor instead.
Border color on iOS and background color on Android when the switch is turned off.
Custom colors for the switch track. onTintColor is now deprecated.
-
iOS: when the switch value is false, the track shrinks into the border. If you want to change the color of the background exposed by the shrunken track, use ios_backgroundColor.
+
Custom colors for the switch track.
+
iOS: When the switch value is false, the track shrinks into the border. If you want to change the color of the background exposed by the shrunken track, use ios_backgroundColor.
Type
Required
@@ -120,6 +120,7 @@
tintColor
+
tintColor is deprecated, use trackColor instead.
Border color on iOS and background color on Android when the switch is turned off.