반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Git
- TextField
- list
- xcode
- error
- ios
- AppBar
- datetime
- GitHub
- 내돈내산
- listview
- 카카오
- visualstudiocode
- swift
- 플러터
- database
- sqflite
- GetX
- react
- AppleSilicon
- M1
- VSCode
- Android
- 라이언
- wrap
- 데스크테리어
- 춘식
- 간단리뷰
- Flutter
- 데스크셋업
Archives
- Today
- Total
목록Dropbox (1)
welcome to my blog
[Flutter] DropdownButton
mfc에서 combobox와 같은 기능을 가진 dropdownbutton 정리 String dropdownValue = '1'; List itemList = ['1', '2', '3', '4','5','6','7','8']; DropdownButton( value: dropdownValue, menuMaxHeight: 150, items: itemList.map((String itemText) { return DropdownMenuItem( value: itemText, child: SizedBox( child: Text(itemText)), ); }).toList(), onChanged: (String? newValue) { setState(() { dropdownValue = newValue!; })..
Flutter
2021. 12. 10. 20:18