Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add Doc Samples For CheckboxListTile, RadioListTile and SwitchListTile #32703
Adds samples to ListTile variants so that developers have some structure to go off of if they decide to create their own custom [Checkbox/Radio/Switch]Label widgets. The goal is to emphasize that ListTiles aren't a one-size-fits-all solution and that it's possible to create a custom widget that better suits developers' needs.
No tests since these are code samples in the API documentation.
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
Does your PR require Flutter developers to manually update their apps to accommodate your change?
Decided offline with @HansMuller to create two separate samples: one to address the Semantics example and one to address the [Switch/Radio/Checkbox] + Label sample issue. That way, there's less confusion from trying to combine the two takeaways into one sample.