Answers for "switch list tile package flutter"

1

SwitchListTile flutter

Flutter SwitchListTile Widget
 -------------------------------
 SwitchListTile(
                title: const Text('Lights'),
                value: ans,
                onChanged: (bool value) {
                  setState(() {
                    ans = value;
                  });
                },
                secondary: const Icon(Icons.lightbulb_outline),
              ),
Posted by: Guest on February-04-2021

Browse Popular Code Answers by Language