PramodJoshi / toggle_switch

A simple toggle switch widget for Flutter.
https://pub.dev/packages/toggle_switch
MIT License
113 stars 64 forks source link

do not limit the maximum width #50

Closed foraixh closed 2 years ago

foraixh commented 2 years ago

Have you thought about not limiting the maximum width? Allow user to customize width with horizontal swipe view? Because as an individual developer, sometimes it is hard to replace text with icons, which will cause the text to automatically collapse, which is silly. Thank you very much if you can. image

PramodJoshi commented 2 years ago

@foraixh you should now be able to use customWidths without restriction in toggle_switch: ^2.0.1 . Check examples. Cheers!