Huy
|
fa5254331f
|
Add ability to disable CupertinoSegmentedControl (#152813)
### Summary
Add the ability to configure enabled or disabled segments in CupertinoSegmentedControl. The idea is to pass a `segmentStates` map, where the user can set the state according to segment key. User can also set background and text colors when the segment is disabled.
### Demo
https://github.com/user-attachments/assets/4a02da02-a0fb-4ded-a271-033a8dc79ac3
### Related issue
Fixes https://github.com/flutter/flutter/issues/52105
|
2024-10-24 12:05:35 +00:00 |
|
Greg Spencer
|
e3bc8efd39
|
Rename Sample classes (#124080)
Rename Sample classes
|
2023-04-04 20:34:29 +00:00 |
|
Michael Goderbauer
|
b308555ed1
|
Enable dangling_library_doc_comments and library_annotations lints (#117365)
|
2022-12-20 16:03:21 -08:00 |
|
Greg Spencer
|
e617d003fb
|
Normalize examples (#111223)
|
2022-09-09 21:17:11 +00:00 |
|
Michael Goderbauer
|
2cbad4b3ae
|
Final chapter: migrate api doc samples to super-parameters (#104007)
|
2022-05-17 15:35:07 -07:00 |
|
Taha Tesser
|
803f9959d8
|
Update Cupertino examples and add missing tests (#103128)
|
2022-05-07 00:29:10 -07:00 |
|
Taha Tesser
|
d80f3e3921
|
Cupertino examples improvements and clean up (#103044)
|
2022-05-05 08:22:53 +02:00 |
|
Taha Tesser
|
7943ae5502
|
CupertinoSegmentedControl: Add an interactive example (#98154)
|
2022-02-15 09:30:19 -08:00 |
|