Call this class as a widget and use the value parameter to set the state of the switch. _enable = false; CustomSwitch( value: _enable, onChanged ...
確定! 回上一頁