flutter/examples/api/test
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
..
animation Add tests for curve2_d.0.dart (#150984) 2024-07-16 10:44:22 +00:00
cupertino Add ability to disable CupertinoSegmentedControl (#152813) 2024-10-24 12:05:35 +00:00
gestures Add test for pointer_signal_resolver.0.dart (#157330) 2024-10-23 02:20:40 +00:00
material Add test for platform_menu_bar.0.dart (#157328) 2024-10-23 06:57:13 +00:00
painting Add test for star_border.0.dart (#157401) 2024-10-24 05:14:19 +00:00
rendering Add tests for sliver grid delegate with fixed cross axis count examples (#153500) 2024-08-29 21:41:21 +00:00
sample_templates Re-Land "Actually add example templates (#111531)" (#111666) 2022-09-15 16:17:06 +00:00
services Rename Sample classes (#124080) 2023-04-04 20:34:29 +00:00
ui/text Animate TextStyle.fontVariations (#138881) 2023-12-08 09:08:26 +00:00
widgets Remove LogicalKeySet usage in one Shortcuts example (#156941) 2024-10-16 17:15:06 +00:00
flutter_test_config.dart flutter test --wasm support (#145347) 2024-03-21 20:08:07 +00:00
goldens_io.dart Revert "Allow Flutter golden file tests to be flaky (#114450)" (#114902) 2022-11-08 09:26:55 -08:00
goldens_web.dart Revert "Allow Flutter golden file tests to be flaky (#114450)" (#114902) 2022-11-08 09:26:55 -08:00