Documentation

(flutterui)

Checkbox as switch

This is an old revision of the document!


On mobile devices, a checkbox should look like a switch. If you want to show a switch instead a checkbox, simply add the following style:

Style.addStyleNames(checkbox, "f_switch");
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information