[0.1.2]
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user