inactiveText property
The text to display when the switch is off. This parameter is only necessary when showOnOff property is true.
Defaults to 'Off' if no value was given.
To change value style, the following properties are available
inactiveTextColor - The color to use on the text value when the switch is off. inactiveTextFontWeight - The font weight to use on the text value when the switch is off.
Implementation
final String? inactiveText;