This commit is contained in:
2025-03-04 16:55:15 +02:00
parent 66b4ee24c4
commit b182b1ede7
4 changed files with 7 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ class AstromicSwitcherToggleState extends State<AstromicSwitcherToggle> {
inactiveIcon: _style.innerInactiveWidget,
//
padding: _style.togglePadding,
onToggle: (bool s) => _onTap(s),
onToggle: !_config.isEnabled? (bool v){}: (bool s) => _onTap(s),
),
//S1 -- Label Spacing
if (_config.withLabel) SizedBox(width: _style.labelSpacing),