Logo
Explore Help
Register Sign In
firka/flutter
firka/flutter
5
Fork 0
You've already forked flutter
Code Issues Pull Requests Packages Projects Releases Wiki Activity
flutter/examples/api/lib/cupertino
History
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
..
activity_indicator
…
bottom_tab_bar
…
button
…
checkbox
Add example for CupertinoCheckbox (#151779)
2024-07-16 16:54:02 +00:00
context_menu
Move FlutterLogo from material to widget (#155864)
2024-09-30 17:19:25 +00:00
date_picker
…
dialog
…
form_row
…
list_section
…
list_tile
[Docs] CupertinoListTile API Example (#154548)
2024-10-02 15:24:05 +00:00
nav_bar
Add bottom to CupertinoNavigationBar to allow for a double-row nav bar (#155959)
2024-10-16 19:36:55 +00:00
page_scaffold
…
picker
…
radio
…
refresh
…
route
…
scrollbar
…
search_field
…
segmented_control
Add ability to disable CupertinoSegmentedControl (#152813)
2024-10-24 12:05:35 +00:00
slider
…
switch
Style: Rename CupertinoSwitch activeColor and trackColor to activeTrackColor and InactiveTrackColor (#151367)
2024-08-07 17:42:57 +00:00
tab_scaffold
…
text_field
…
text_form_field_row
…
Version: 1.23.1 Page: 1133ms Template: 26ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API