Code example for ToggleButton

Methods: setOnCheckedChangeListenersetTextsetTextOffsetTextOn