activeTextFontWeight property

FontWeight? activeTextFontWeight
final

The color to use on the text value when the switch is on. This parameter is only necessary when showOnOff property is true.

Defaults to Colors.white70. The font weight to use on the text value when the switch is on. This parameter is only necessary when showOnOff property is true.

Defaults to FontWeight.w900.

Implementation

/// The font weight to use on the text value when the switch is on.
/// This parameter is only necessary when [showOnOff] property is true.
///
/// Defaults to [FontWeight.w900].
final FontWeight? activeTextFontWeight;