This is a cross-platform alloy widget for switch/toggle button with label for switch title. This widget is compatible with accessibility.
widget expects following arguments as mandatory :
title - string value for Label,
value - boolean to set as value for switch
onClick - callback function to set as click listener for switch.