Adam Barth
42d87c4191
Rename ToggleControlsDemo to SelectionControlsDemo
...
These are called selection controls in the spec and in the gallery UI.
2016-03-30 23:31:02 -07:00
Hans Muller
3f0cca02cb
Revised Material Gallery demo
2016-01-19 17:02:32 -08:00
Adam Barth
056766414c
Use a named argument for Widget children
...
Previously we used a positional argument for widgets that had multiple
children. Now we use a named argument that defaults to an empty list.
Fixes #241
2016-01-11 13:17:09 -08:00
Adam Barth
3fbfe732f4
Properly paint disabled switches
...
Also, refactor more common code into RenderToggleable and handle dark themes
more correctly.
Fixes #601
2015-11-26 11:50:15 -08:00
Adam Barth
0844233deb
Add missing types for list literals
2015-11-26 10:40:06 -08:00
Adam Barth
3f06da0eaa
Improve Material selection controls
...
- These controls now have proper radial reactions.
- You can drag the switch.
- The radio button animates properly.
- There's a demo in the Material Gallery
2015-11-26 01:54:34 -08:00