CustomSwitch
CustomSwitch copied to clipboard
Custom Switch package created in Flutter
Updated with this fix - https://stackoverflow.com/questions/58802223/flutter-ticker-must-be-disposed-before-calling-super-dispose
Hi- When user tab to turn on, my app opens the Confirmation dialog, if user tab to Cancel button, the CustomSwitch should be turned off again but it still turned...
The `onChange()` function always returns true
How to reduce the size of the button
Awesome work! giving users the option to set the color of the centered container (White doesn't work in all cases) would make it awesomer ;)
Since this is a generic widget, it should be stateless.
### Changes: - Fixed the constructor because the previous one won't work. - Did some refactoring and formatting of the code.
On iphone5s I get overflow by 8 pixels on the right 'Right overflow by 8. pixels'